GNOME Bugzilla – Bug 348750
battery applet wakes up too often
Last modified: 2006-09-21 23:22:06 UTC
the battery applet wakes up from sleep once per second to do practically nothing and then goes back to sleep again. ironically, this has a negative impact on the battery life of laptops. on hal, this is silly, since hal is entirely event driven. the battery applet should wait for an event from hal before checking if anything new has happened.
*** Bug 353885 has been marked as a duplicate of this bug. ***
2006-09-21 Ryan Lortie <desrt@desrt.ca> * battstat-hal.c: * battstat-hal.h: * power-management.c: * battstat.h: * battstat_applet.c: Add a callback system to notify the applet when changes to the battery state have been reported by HAL (removes the need to poll once per second). Closes bug #348750.