kpowersave stuck at battery charging

Andrey Borzenkov arvidjaar at
Wed Jan 2 05:10:40 PST 2008

On Wednesday 02 January 2008, Alexey Starikovskiy wrote:
> Andrey Borzenkov wrote:
> > This is did not happen before; I am not sure right now what caused this 
> > battery aging or some software change) nor whether this is 
> > issue.
> >
> > kpowersave is stuck at assuming battery is loading and at 94%. Sysfs 
> > battery state as Full:
> >
> >   
> Frequent battery charging shortens lifetime of the battery, so some (may 
> be all now)
> notebook manufacturers do not start charging  battery until it discharge 
> to some degree (~90%).

I thought Li-Ion batteries do not have memory effect. Actually I remember to 
have read recommendation to avoid deep discharges of Li-Ion battery, it was 
adviced to charge it as often as possible.

> It could be your case. Please try to discharge battery to, say, 89% and 
> then check if it charges to the
> 100%.

That is exactly the question - how do you compute 100%? As far as I can tell the 
only possibility is - when battery stops charging. At this point you have to 
assume battery is fully charged.

I tried to discharge battery (it was around 78%) and plug AC in again. It went 
on Charging until the same limit after that state changed to Full (well, in case 
of ACPI battery we really only can state - not (dis-)charging, there is no 
special Full state flag); kpowersave still believes battery is not fully 
charged. Main interface shows 84% (no Charging) - tooltip states it is being 


This would indicate that my battery lost 6% of capacity in new year, but 
question still remains - how should user tools properly calculate charge level?

> > - does ACPI battery code misuse POWER_SUPPLY_PROP_ENERGY_FULL?
> > - does HAL misuse .../energy_full?
> > - does kpowersave misuse battery.charge_level.last_full?
> >   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the hal mailing list