Modify actions when battery is critically low?

Solution 1:

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.