acpi reporting incorrect battery state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hal (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-source-2.6.11
When testing the hardy alpha6 live cd I came across an bug that was also in the
Feisty release and it isn't resolved.
The problem is that when I start my laptop, plugged into AC, acpi and the gnome-power-manager
think that AC is unplugged and report a popup telling the laptop is unplugged. (Which isn't)
The bug can be reproduced by unplugging the AC and replugging it
again, then after
one minute acpi+g-p-m thinks the battery is unplugged again.
Here's the what acpi reported:
(laptop on AC system up and running, g-p-m gives the unplugged warning)
ubuntu@ubuntu:~$ acpi -V
Battery 1: discharging, 98%, 02:06:43 remaining
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: off-line
(laptop after unplugging AC)
ubuntu@ubuntu:~$ acpi -V
Battery 1: discharging, 98%, 04:25:27 remaining
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: off-line
( and replugging it again)
ubuntu@ubuntu:~$ acpi -V
Battery 1: charging, 98%, 00:33:00 until charged
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: on-line
Then after one +- one minute g-p-m gave an popup telling the laptop
was disconnected.(Which wasn't the case)
ubuntu@ubuntu:~$ acpi -V
Battery 1: discharging, 98%, 18:23:56 remaining
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: on-line
The remaining outputs shows that the battery is charging as the remaining times
increases.
ubuntu@ubuntu:~$ acpi -V
Battery 1: discharging, 98%, 25:42:22 remaining
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: on-line
ubuntu@ubuntu:~$ acpi -V
Battery 1: discharging, 98%, 27:48:38 remaining
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: on-line
ubuntu@ubuntu:~$ acpi -V
Battery 1: discharging, 98%, 31:56:44 remaining
Thermal 1: ok, 53.0 degrees C
AC Adapter 1: on-line
I can't find anything useful in the logs but if you need more info I'm
happy to provide it.
Stas
Changed in linux: | |
status: | Incomplete → Confirmed |
Upon further investigation it appears that the problem is related to the charging of the battery.
The laptop battery was discharged about 30% and when charging again there was no problem
but as soon as the battery was completely charged the g-p-m gives the unplugged warning and
the acpi daemon reported that the battery was discharging with increasing 'remaining' times.