[Bug 270123] Re: Wrong battery status

2008-09-16 Thread Chris Coulson
Thank you for the information. The information exported to /proc/acpi seems to be consistent with the behaviour of the battery status applet as I understand it (battery status is 'charging' when the AC adapter is present, but always 'charged' without AC adapter, and never 'discharging'). This defa

[Bug 270123] Re: Wrong battery status

2008-09-16 Thread Patrick
Here you go. Thanx a lot for your dedication, I highly appreciate it. By the way, remember I never get a discharging state, but charged with off-line ac and X time estimate left. ** Attachment added: "bug.tar.gz" http://launchpadlibrarian.net/17664538/bug.tar.gz -- Wrong battery status http

[Bug 270123] Re: Wrong battery status

2008-09-16 Thread Chris Coulson
Patrick - Could you please run the following command (both with and without the AC adapter present): ls -la /proc/acpi/*/* cat /proc/acpi/*/*/* This should give us the raw information that the ACPI command line utility sees (and the battery status applet) Thanks -- Wrong battery status https:/

[Bug 270123] Re: Wrong battery status

2008-09-14 Thread Patrick
By the way, just in case. I have a script installed under /etc/pm/sleep.d/99-savings and /etc/pm/power.d/99-savings. The script is something like: #!/bin/sh if on_ac_power; then bla bla bla else bla bla bla fi Whenever I plug or unplug the ac adapter, the script does its work, so it

[Bug 270123] Re: Wrong battery status

2008-09-14 Thread Patrick
To clarify things: The gnome power manager tray icon now shows the battery icon, and if I move the mouse over, it says Computer uses battery power. Laptop battery 1h 30min remaining (58%). Battery discharging time is estimate. By the way, if in gpm preferences I select to only show the tray icon w

[Bug 270123] Re: Wrong battery status

2008-09-14 Thread Chris Coulson
Just to be clear, this is how I understand your problem - The battery status icon (which is drawn by gnome-power-manager) always says that the laptop is running on AC power even when it isn't. Is that correct? Could you please also run the following (without the AC adapter connected); hal-find-by

[Bug 270123] Re: Wrong battery status

2008-09-14 Thread Patrick
Bug in gnome-power-manager? acpi never tells the battery is discharging, although it nows the ac adapter is off line, sure there's something wrong there, isn't it? Anyway, I attach all information below. All is done with the ac-adapter unplugged, except lshal, which I run on battery, plugged in th

[Bug 270123] Re: Wrong battery status

2008-09-14 Thread Chris Coulson
Thank you for taking the time to report this bug and help make Ubuntu better. Unfortunately we can't fix it without more information. Based on the information you have given, I have reassigned this to gnome-power-manager for now, as it seems to be g-p-m which is indicating the wrong status. Could