Battery-state applet does fails to show state of battery after awakening from hibernation

Bug #17485 reported by Thomas M. Hinkle
12
Affects Status Importance Assigned to Milestone
acpi (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

1. I have my computer plugged in and running. A plug is shown in my panel to
indicate the battery step. Good job GNOME!
2. I tell my computer to hibernate. It does so successfully -- again, good job
GNOME!
3. I move my computer miles away from home and plug. I wake my computer up and,
after spitting up some funny colors on screen, it readjusts itself and shows me
my desktop where I left it, with time properly adjusted. Hurray!
4. I look at the panel. It shows the "plug" icon, but my computer is not plugged
in. I have to hover the mouse over the icon to make it show up again.
5. I plug my computer in and then unplug it. The applet now shows my current
state as expected.

So, I suspect the problem is simply that the applet is responding to changes,
and that it never gets to register the "change" of my unplugging the machine
when it was hibernating.

This is pretty minor, but it would be nice if it could be fixed, because
otherwise I have no way to get the battery icon-indicator to show up while I'm
away from my plug.

Revision history for this message
Sebastien Bacher (seb128) wrote :

probably an acpi issue, reassigning. Does acpi_listen gets the even correctly?

Revision history for this message
Thomas M. Hinkle (thomas-hinkle) wrote :

cat /proc/acpi/battery/bat0/state
Properly shows the machine is "discharching" when not plugged in after hibernation.

Revision history for this message
Sebastien Bacher (seb128) wrote :

I don't doubt of that, but does acpi_listen get a signal?

Revision history for this message
Thomas M. Hinkle (thomas-hinkle) wrote :

And hibernating the machine and restarting with acpi_listen running shows that
no ac_adapter event is generated on awakening unplugged.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Revision history for this message
Timothy Smith (tas50) wrote :

There's been a merge to fix this problem. Can you test it on a Dapper or Edgy beta to make sure the patch fixed your problem.

Revision history for this message
Luka Renko (lure) wrote :

It may also be the problem in kernel/hal see bug 63123, where battery charge does not get changed after hibernate.

Revision history for this message
Carlos Diener / emonkey (emonkey) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in acpi:
status: New → Incomplete
Revision history for this message
Thomas M. Hinkle (thomas-hinkle) wrote :

This is no longer an issue -- I'm on Heron now and haven't noticed it, but I don't believe it has been a problem for some time (i.e. not under gutsy either). So it should be safe to close this bug now.

Revision history for this message
Carlos Diener / emonkey (emonkey) wrote :

Thank you very much for your response. According your informations I'll close this bug.

Changed in acpi:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.