GNOME Bugzilla – Bug 315259
battstat applet shows 204% charge
Last modified: 2005-09-06 02:05:28 UTC
battstat applet shows 204% charge when battery is fully charged due to voltage/capacity reported by ACPI being higher than engineered. AC on, shows 204% design voltage: 11100 mV present voltage: 12511 mV remaining capacity: 53000 mWh AC off, discharging a moment later last full capacity: 26000 mWh remaining capacity: 25390 mWh
Created attachment 51801 [details] [review] 204 -> 100
To clarify on the bug report a little: When the battery is in the process of charging it goes like: 97 ... 98 ... 99 ... 100 ... 204. The problem only occurs when the battery is fully charged and then spikes up to be way over capacity. The attached patch fixes this problem by clamping the 'remaining capacity' value to never exceed the 'last full capacity'. As a result, when the charge spikes up to 204% the user interface will only ever show 100%. In all other cases this patch shouldn't change anything else.
Patch WFM.
Also being tracked here, care of an independent reporter: http://bugzilla.ubuntu.com/show_bug.cgi?id=14246 (HAL fix attached to ubuntu bug).
Since this is a bug best fixed in HAL, I'm gonna close it.