Tag Info

Hot answers tagged

3

If you are on GNOME, there is a gnome-tweak-tool, sudo apt-get install gnome-tweak-tool with which you can edit what power button does. In gnome-tweak-tool you just have click on Power in left panel and you will see something like this:


2

Below shell script works for ac power updates like plugged in and plugged out. You should run this code at start-up, it runs in infinite loop. #! /bin/bash stat=$(upower -i /org/freedesktop/UPower/devices/line_power_AC | grep online | awk '{ print $2}') if [ $stat == "yes" ];then a=yes elif [ $stat == "no" ];then a=no fi while true; do stat=$(upower ...


2

That is a hardware bug: your system does not recognize the software telling the system to stop, it then returns a non supported error/action and the operating system will just reboot. Possible fix: set ACPI to not route IRQs. gksudo gedit /etc/default/grub Find and edit the option that is: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=noirq" and ...


2

I just want to share my experience with an ASUS battery: Also my netbook suddenly turned off when it was under 30% battery. However I never had the fan and freezing problem. I went along with it for months until one day it never turned on unplugged. It seems they define a life cycle for the batteries. My battery suddenly stopped working while it could save ...


1

I have almost the same machine (730U3E-S02PL, some slight differences in spec), so I can share my experiences with you. Hopefully it will help you to fix the problems with energy drain. The main reason for the unnaturally high power consumption is that your discrete graphic card (Radeon) is constantly on. To switch it off, you will have to install the ...


1

A general (and hard) way to shutdown your computer is Press Ctrl+Alt+T for showing terminal Type sudo shutdown -h now and press Enter Type in your password (if prompted) press Enter again Wait sometime


1

The duplicate answer provides two solutions: reduce Screen brightness in battery mode automatically But for me in this case the solution was somewhat simpler: I just set the brightness to 50% on each system start in the startup programs (gnome-session-properties) with the command: xbacklight -set 50% Info: It doesn't work to call xbacklight in ...


1

I was interested in finding this out myself. I created a quick and dirty script for measuring spindown. It works on intervals of SECONDS from uptime, and you can specify which disk(s) and intervals to use. It logs results to ~/sleepdata.log It only uses hdparm and uptime. It probably has bugs too. DL @ ...


1

How about just placing your script in run level 6 as mentioned and detailed here: How to run a command before the machine automatically shutdowns?


1

For Ubuntu 14.04 with multiple users you´ll have to add this tags (so that is doesn´t depend of multiple-users or upower as manager instead of login1) [Re-enable hibernate by default] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes [Re-enable hibernate by default for login1] Identity=unix-user:* ...



Only top voted, non community-wiki answers of a minimum length are eligible