I am running Ubuntu (not Xubuntu) and am using Xfce4 on my laptop. When my laptop battery is critically low, Ubuntu/Xfce4 performs some action (perhaps hibernate?) which causes my laptop to shut down.
However when I start it again, it never comes up. I don't even get BIOS or anything on the screen, it is completely black. The only way to get it back up is to take it apart, remove the internal CMOS battery as well as the main battery, wait a few minutes, and put it back together.
Obviously this is not optimal.
How do I disable all actions when the battery is critically low? I would rather have it run out of power, than ending up in this error condition.
Best Answer
I have no idea how to do it for XFCE but for GNOME, you can change it by installing dconf-tools. Open
dconf-editor
Go to:org > gnome > settings-daemon > plugins > power
and edit
critical-battery-action
value to nothing.You can also un-check
use-time-for-policy
. Then your system won't use the time remaining as the criteria. It will be forced to use the percentage remaining. Takes care of a bug in ACPI.There should be something similar for XFCE.