How to avoid shutdown on critical battery?
Please install dconf-editor (sudo apt-get install dconf-editor
) and go to
org 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.