There exists a well-known bug in gnome-power-manager, which breaks Ubuntu on computers with 2 or more batteries. If one is empty, Ubuntu will shutdown ('critical battery'). As a workaround, it can useful to disable shutdown on critical battery status. However with Ubuntu 13.10 Saucy, the GUI doesn't allow this. What can I do?
Please install dconf-editor (
sudo apt-get install dconf-editor
) and go toorg gnome settings-daemon plugins power
Click the shutdown that is highlighted and choose "nothing" from the options as seen in this screenshot:
Please do be careful. If the 2nd battery runs out of juice be sure to shutdown yourself.
Shutdown the system and dismount the empty battery. BTW, that bug was fixed 9 years ago. If you experience it again, then is obviously another bug.