Bug#597588: gnome-power-manager: battery capacity reporting broke on upgrade to squeeze

Andres Salomon dilinger at queued.net
Tue Sep 21 01:51:03 UTC 2010


Package: gnome-power-manager
Version: 2.30.1-1

I recently updated an XO-1 to squeeze.  The battery icon in gnome no
longer tells me what percentage of battery life is left.  If I click on
the battery icon, it tells me the battery is at 0.0%.  I suspect this
is related to the switch to upower, but I'm not sure what magic dbus
invocations I should be using to tell.

A bit about the machine:

Linux debxo 2.6.36-rc2+ #7 PREEMPT Mon Aug 30 01:29:58 UTC 2010 i586 GNU/Linux

olpc at debxo:~$ ls -l /sys/class/power_supply/
total 0
lrwxrwxrwx 1 root root 0 Sep 20 18:39 olpc-ac -> ../../devices/platform/olpc-battery.0/power_supply/olpc-ac
lrwxrwxrwx 1 root root 0 Sep 20 18:39 olpc-battery -> ../../devices/platform/olpc-battery.0/power_supply/olpc-battery
olpc at debxo:~$ cat /sys/class/power_supply/olpc-battery/capacity_level 
Full
olpc at debxo:~$ cat /sys/class/power_supply/olpc-battery/capacity       
93
olpc at debxo:~$ dpkg -l upower dbus hal
ii  dbus                    1.2.24-3                simple interprocess messaging system
un  hal                     <none>                  (no description available)
ii  upower                  0.9.5-1+b1              abstraction for power management


If I run `dbus-monitor --system` while watching for the
'capacity' sysfs entry to change (decrease) doesn't result in anything
UPower-related coming across the system bus.  d-feet does show a
/org/freedesktop/UPower/devices/battery_olpc_battery.





More information about the pkg-gnome-maintainers mailing list