I found the workaround. Critical battery trigger has two modes:
'nothing' will ignore a seemingly critically low battery signal
'suspend' is the default which causes the computer to suspend upon receiving
this erroneous signal
Check the current mode:
$ gsettings get org.gnome.settings-daemon.plugins.power critical-battery-action
Change the mode to do nothing
$ sudo -s
# cat >
/usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.power.gschema.override
<< HERE
[org.gnome.settings-daemon.plugins.power]
critical-battery-action='nothing'
HERE
$ sudo glib-compile-schemas /usr/share/glib-2.0/schemas/
$ sudo dconf update
$ rm -r ~/.config/dconf/user
$ gsettings reset-recursively <schema>
$ gconftool-2 --recursive-unset /
** Changed in: gnome-power-manager (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: gnome-power-manager (Ubuntu)
Assignee: (unassigned) => David Bensimon (davidbensimon)
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-power-manager in Ubuntu.
https://bugs.launchpad.net/bugs/487867
Title:
No preference to enable/disable low battery alarm
Status in “gnome-power-manager” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: gnome-power-manager
When battery is critically low there is an alarm (At least on a Dell
Mini 9 Inspiron 910).
Please include an option in Power Management Preferences to
enable/disable low battery alarm.
ProblemType: Bug
Architecture: i386
CheckboxSubmission: 2927c59df4d910c7420633a88fe5f586
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Tue Nov 24 17:32:05 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: wl
Package: gnome-power-manager 2.28.1-0ubuntu1
ProcEnviron:
LANGUAGE=en_CA.UTF-8
PATH=(custom, user)
LANG=en_CA.UTF-8
SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gnome-power-manager
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
(gnome-settings-daemon:1776): GLib-CRITICAL **: g_propagate_error: assertion
`src != NULL' failed
(polkit-gnome-authentication-agent-1:1819): GLib-CRITICAL **:
g_once_init_leave: assertion `initialization_value != 0' failed
(nautilus:1811): Eel-CRITICAL **: eel_preferences_get_boolean: assertion
`preferences_is_initialized ()' failed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/487867/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp