After switching g-p-m from using hal to using DK-P, g-p-m only displays 3 charge levels: 79%, 49%, or 19%. This is not actually g-p-m's fault, it gets the values from DK-P (see below for dump). I'm not yet familiar with debugging DK-P, and battery issues in particular. What further information is helpful here? Thanks in advance! Martin Linux 2.6.30rc7 DK-P 007 Device: /org/freedesktop/DeviceKit/Power/devices/line_power_AC native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/ACPI0003:00/power_supply/AC vendor: model: serial: power supply: yes updated: Wed Jun 3 13:16:16 2009 (2125 seconds ago) has history: no has statistics: no line-power online: no Device: /org/freedesktop/DeviceKit/Power/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:01/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 vendor: Panasonic model: 92P1133 serial: 87 power supply: yes updated: Wed Jun 3 13:16:16 2009 (2125 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 64.26 Wh energy-empty: 0 Wh energy-full: 81.35 Wh energy-full-design: 0 Wh energy-rate: 0 W voltage: 12.195 V time to full: 0 seconds time to empty: 0 seconds percentage: 78.992% capacity: 96.5693% technology: lithium-ion History (charge): 1244060176 78.992 discharging History (rate): 1243994465 18.590 unknown 1243994515 18.222 charging 1243994565 17.868 charging 1243994575 0.000 charging Daemon: daemon-version: 007 can-suspend: yes can-hibernate yes on-battery: yes on-low-battery: no
I asked the original reporter to test with 008 as well, will report back here. (Question about debugging procedures still stands, though).
You can follow whats happening with (as root): killall devkit-power-daemon /usr/libexec/devkit-power-daemon -v And then watch the output scroll. You really want >=008 as earlier versions had pretty bad bugs.
Confirmed fixed in 008, sorry for the noise.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.