Bugzilla – Bug 347219
HAL report for full empty batteries to 100% remaining capacity
Last modified: 2008-02-09 13:20:40 UTC
i, I'm running openSUSE 10.3 x86_64 with the newest patches on a HP Compaq nx6125. Altough the (second) travel battery is empty, the "KPowersave Informations Dialog" shows it's 100% full. MyLaptop:/root # cat /proc/acpi/battery/*/* alarm: unsupported present: yes design capacity: 3948 mAh last full capacity: 3948 mAh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 198 mAh design capacity low: 40 mAh capacity granularity 1: 100 mAh capacity granularity 2: 100 mAh model number: Travel serial number: 00005 2007/08/29 battery type: LIon OEM info: Hewlett-Packard present: yes capacity state: ok charging state: charged present rate: 0 mA remaining capacity: 0 mAh present voltage: 10776 mV alarm: unsupported present: yes design capacity: 4256 mAh last full capacity: 4256 mAh battery technology: rechargeable design voltage: 11100 mV design capacity warning: 213 mAh design capacity low: 43 mAh capacity granularity 1: 100 mAh capacity granularity 2: 100 mAh model number: Primary serial number: 00665 2006/06/28 battery type: LIon OEM info: Hewlett-Packard present: yes capacity state: ok charging state: charging present rate: 3001 mA remaining capacity: 834 mAh present voltage: 12096 mV
Created attachment 186580 [details] Screenshot from "KPowersave Informations Dialog" with wrong 100% capacity of travel battery
Please provide these information if this happen: - lshal output - grep . /proc/acpi/battery/*/*
ping
Created attachment 187535 [details] Output of command "lshal"
Created attachment 187536 [details] Output of command "grep . /proc/acpi/battery/*/*"
Okay, it's not a KPowersave, but a HAL problem. HAL reports for the empty battery: battery.charge_level.percentage = 100 (0x64) (int) Please try the HAL package from here (and check if this helps): http://download.opensuse.org/repositories/home:/dkukawka/openSUSE_10.3/
Thanks! That version fixed the bug :-) When will this rpm-package be released as an official openSUSE 10.3 update package?
You can use the HAL from my repo for now, this version should include everything, that go into the next online update next year.
submitted package for YOU update for opensuse 10.3
released
I discovered another flaw: when the Primary battery is full and the Travel battery is discharging, the remaining battery time of both batteries (Travel + Primary) is always as big as the remaining battery time of the discharging Travel battery. With former versions of OpenSUSE, this worked, I remember.
Created attachment 193946 [details] Screenshot from "KPowersave Informations Dialog" with wrong total battery time
Created attachment 193947 [details] New Output of command "lshal"
Created attachment 193949 [details] New output of command "grep . /proc/acpi/battery/*/*"
That's o bug, there is no way to calculate the time correctly for both batteries atm.
set back to old state. Btw. if you have a new bug, open a new bugreport and don't reopen existing bugs!!!