simple way to fix this is change ubuntu-settings package, set default value "critical-battery-action = 'shutdown'", good way is default value hibernate and fall back to shutdown, but I don't think it worthy to do because seldom user will enable hibernate.
simple way to fix this is change ubuntu-settings package, set default value "critical- battery- action = 'shutdown'", good way is default value hibernate and fall back to shutdown, but I don't think it worthy to do because seldom user will enable hibernate.