This is a clone of https://bugs.gentoo.org/show_bug.cgi?id=360607 From a user bug report: Hi. I am running Gentoo amd64 on a Thinkpad W510, with KDE 4.6.1 running under a no-hal, udev only setup. I have started encountering a peculiar issue where after resuming from suspend, the powerdevil battery indicator claims I have 11% charge remaining, even if plugged in. A reboot fixes everything and brings the indicator back to normal. A very similar issue is manifesting itself on similar hardware, under GNOME in Ubuntu ( https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/606159 ), so I assume it is a udev/kernel issue of some sorts. Possibly upstream somewhere? The acpi commandline utility displays correct battery values. Any idea what's going wrong?
Powerdevil requests battery information from upower. What does upower says about your battery? The acpi command does not use upower as far as I know.
I experience the same issues with the same hardware (Thinkpad w510) and KDE 4.6.2. upower says the following: (comments after # were added by me) upower -i /org/freedesktop/UPower/devices/battery_BAT0 native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/device:02/PNP0C09:00/PNP0C0A:00/power_supply/BAT0 vendor: SANYO model: 42T4799 serial: 14107 power supply: yes updated: Fri Apr 22 20:02:14 2011 (21 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: fully-charged # wrong energy: 88.1451 Wh # wrong energy-empty: 0 Wh energy-full: 829.614 Wh energy-full-design: 103.496 Wh energy-rate: 0 W voltage: 12.159 V percentage: 10.6248% # wrong capacity: 100% technology: lithium-ion
This seems an upstream bug (in upower). The correct place to fill a bug for upower is in http://bugs.freedesktop.org. I have found some bugs reports related to your problem: https://bugs.freedesktop.org/show_bug.cgi?id=27399 https://bugs.freedesktop.org/show_bug.cgi?id=36198 https://bugs.freedesktop.org/show_bug.cgi?id=28213 https://bugs.freedesktop.org/show_bug.cgi?id=23177