No preference to enable/disable low battery alarm

Bug #487867 reported by komputes
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Fix Released
Undecided
komputes

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

Revision history for this message
komputes (komputes) wrote :
Revision history for this message
sreenath (tacticiankerala) wrote :

Ya..it is very urgent...

Revision history for this message
komputes (komputes) wrote :

Thank you for confirming this bug.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
komputes (komputes) wrote :

It seems that the warning sound was removed in Ubuntu 10.04 LTS. There is no option in Power Management Preferences to turn this feature on/off.

Revision history for this message
komputes (komputes) wrote :

Has anyone found a workaround to disable this warning and its associated action in dconf?

Revision history for this message
komputes (komputes) wrote :

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):
assignee: nobody → David Bensimon (davidbensimon)
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.