Charge level isn't updated after going out of suspend

Bug #1224931 reported by Michał Sawicz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Upower
New
Undecided
Unassigned
indicator-power (Ubuntu)
Fix Released
Medium
Charles Kerr

Bug Description

On manta (think I saw that on mako and maguro, too), the charge level in the indicator isn't updated automatically - I needed to unplug/re-plug the power connection to get a correct reading.

When unsuspending, the indicator says "0%" for charge level, and after I disconnect the power, it changes to "42%" directly.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: indicator-power 12.10.6+13.10.20130830.2-0ubuntu1
Uname: Linux 3.4.0-4-manta armv7l
ApportVersion: 2.12.1-0ubuntu3
Architecture: armhf
Date: Fri Sep 13 11:56:18 2013
InstallationDate: Installed on 2013-09-11 (2 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20130911.1)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: indicator-power
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Michał Sawicz (saviq) wrote :
Revision history for this message
Charles Kerr (charlesk) wrote :

This looks like a two-part issue.

One, indicator-power needs to listen for the "Resuming" signal from upower to know when the system is resuming from suspend / hibernate. I'm linking a branch to do this.

Two, it looks like upower isn't emitting this signal properly, so I'm going to add also-affects upower.

Looks like maybe this signal should be emitted by a call to /lib/systemd/system-sleep/notify-upower.sh as per the desciption in <https://bugs.freedesktop.org/show_bug.cgi?id=51305> but I'm not seeing the signal appear either in indicator-power or dbus-monitor.

Changed in indicator-power (Ubuntu):
status: New → Triaged
assignee: nobody → Charles Kerr (charlesk)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-power - 12.10.6+13.10.20131004-0ubuntu1

---------------
indicator-power (12.10.6+13.10.20131004-0ubuntu1) saucy; urgency=low

  [ Charles Kerr ]
  * Revert bug #824629 code -- use the correct charge % when deciding
    what icon to use. (LP: #1215520, #824629)
  * Listen for the "Resuming" signal from upower to refresh devices when
    resuming from suspend/hibernate. (LP: #1224931)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 204
 -- Ubuntu daily release <email address hidden> Fri, 04 Oct 2013 02:28:43 +0000

Changed in indicator-power (Ubuntu):
status: Triaged → 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.