Hello,

I did some troubleshooting; it is indeed not a gkrellm problem. I wrote
a little script that echo'ed time, charge_now and charge_full to a
logfile, and found this:

Fri Oct 30 16:19:42 CET 2009
NOW: 5921000      FULL: 5981000      PERCENT: 98

Fri Oct 30 16:20:12 CET 2009
NOW: 7800000      FULL: 5981000      PERCENT: 130


So it looks as if sysfs itself is going nuts. I'll try out a newer
kernel and report back.

Kind regards,

Lennert




On Fri, Oct 30, 2009 at 11:05:12AM +0100, Sandro Tosi wrote:
Hi Lennert,
thanks for your bug report.

On Sun, Oct 18, 2009 at 20:37, Lennert Van Alboom <al...@jesuschrist.be> wrote:
Gkrellm's battery krell has a strange bug which makes that when the battery is
100% charged (as visible in 'acpi -b'), it reports it as 128% charged. When
running on battery, it goes from 128% straight to 99% and so on. Charging it
goes from 99% back to 128%.

This is a Dell Latitude D830 laptop, if it makes any difference.

Since 2.3.2, gkrellm uses sysfs information (if available) instead of
acpi. Now, could you please look into /sys/class/power_supply/ and see
what's the information in there?

Additionally, you can also run gkrellm with debug info for battery:
open a terminal and exec:

gkrellm -d 0x8000

and it should print some debug info for the battery part.

Another test, since there are a couple of new kernel version available
for unstable, 2.6.30-2-686 and 2.6.31, you can also try to upgrade to
them and see if the behavior is still there.

Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to