BUG wrong values for battery
Andrwe Lord Weber
lord-weber-andrwe at renona-studios.org
Sat Apr 4 06:22:32 PDT 2009
hal sets wrong values for the battery on my laptop.
- hal version 0.5.12_rc1 with the USE-Flags "X acpi crypt kernel_linux
- "sysfs" is activated in kernel
These variables are wrong:
It seems to me the percentage is calculated by the following formula on
battery.charge_level.percentage = battery.charge_level.current /
battery.charge_level.design * 100
This is the reason why I get 65 % as maximum percentage.
The *.rate variables have a maximum value of 2500 if I compile
something. This cause a remaining time >20 hours.
More information about the hal