Hi Joey! On 10/17/06, Joey Hess <[EMAIL PROTECTED]> wrote:
To try to debug this I would need a copy of all the files in /proc/acpi/battery in each of the problimatic states.
I am sending a tar.gz containing 3 dirs. For the first problem (wmbattery saying that it's charging while it's already charged), I think that I know the problem. On line 331 of acpi.c (of wmbattery), it says: else if (state[0] == 'c' && state[1] == 'h') { /* charging */ if you see the file charged/BAT0/state that I am sending you, it has: charging state: charged So wmbattery thinks that it's charging because it matches "ch". And for the other problem I am sending all the files again, separeted in two dirs. One when "acpi -V" says that the battery is on 99% of the capacity and another with 97% of the capacity. I am sending both because when it's on 99%, wmbattery says that it's with 90. With 97% it says 88%. Thank you! Nelson
battery.tar.gz
Description: GNU Zip compressed data