On Friday 12 January 2007 22:48, Michael Biebl wrote: > This is very likely a bug in HAL and the same problem as > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=405216 > > Can you confirm, that it is hal, that reports too coarse figures (0, > 25%, 50%, 75% and 100%) when the battery is (dis)charged. > Use "lshal | grep battery.charge_level.percentage". > > Cheers, > Michael
Hi Michael, thanks for caring :-) Yes, the problem seems to be the same as reported in bug #405216. My laptop is an Acer, too, and the present voltage is 1mV just as in #405216. Here's the battery information: $ cat /proc/acpi/battery/BAT1/state present: yes capacity state: ok charging state: discharging present rate: 1901 mA remaining capacity: 2974 mAh present voltage: 1 mV Here's what I got from lshal: 97% directly after unplugging. A minute later I got 100% (strange, isn't it). Next, step is 75%, then 50%. (I stopped here) Why does HAL need to recalculate the charge_level.percentage at all when it is already provided by acpi? Shouldn't they (acpi and lshal) report the same values anyway? Kind regards, Felix -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]