kpowersave stuck at battery charging

Danny Kukawka danny.kukawka at
Wed Jan 2 04:54:50 PST 2008

On Mittwoch, 2. Januar 2008, Andrey Borzenkov wrote:
> battery.charge_level.percentage = 94

Here is your problem. KPowersave simply check this value and this say the 
battery isn't full.

Btw. As I already wrote in an other thread: There are some bugs in the HAL 
code for the ACPI batteries which are shown as power supply devices in sysfs. 
You can with kernel 2.6.24 and HAL 0.5.10 only trust the batteries from the 
proc interface on ACPI machines.

I take currently a look at the problem, and have already a solution in mind, 
but had not the time to fix the code. I hope, I can finish this next week.


More information about the hal mailing list