Ubuntu – How to stop turning off sequence when power manager says that battery is too low and want to power down


According to this thread I can disable this thing altogether but this battery-critical-power-down not always happens. Is there a way or terminal command that can stop the power manager shutting down my computer when that infamous message box pops up?

Best Answer

enter image description here

Insert nothing here and it should just crash with undetermined results if it actually ends up with an empty battery. Run gconf-editor from command line and go to apps > gnome-power-management > actions.

Command line option:

gconftool-2 --set --type string /apps/gnome-power-manager/actions/critical_battery       nothing