When discharging, battery icon shows full until close to 50%

Bug #1054146 reported by Daniel van Vugt on 2012-09-21
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
indicator-power
Fix Released
High
Charles Kerr
indicator-power (Ubuntu)
High
Unassigned

Bug Description

I notice the battery icon shows full until I'm down to about 50%. I'd really like better feedback than that.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: indicator-power 12.10.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-11.11-generic 3.5.2
Uname: Linux 3.5.0-11-generic x86_64
ApportVersion: 2.5.2-0ubuntu4
Architecture: amd64
Date: Fri Sep 21 23:33:19 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120724.2)
ProcEnviron:
 LANGUAGE=en_AU:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: indicator-power
UpgradeStatus: No upgrade log present (probably fresh install)

Daniel van Vugt (vanvugt) wrote :
summary: - Battery icon shows full when battery is at 50%
+ Battery icon shows full until close to 50%
description: updated
Charles Kerr (charlesk) on 2012-09-21
Changed in indicator-power (Ubuntu):
status: New → Triaged
importance: Undecided → High
assignee: nobody → Charles Kerr (charlesk)
Changed in indicator-power:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Charles Kerr (charlesk)
Changed in indicator-power (Ubuntu):
assignee: Charles Kerr (charlesk) → nobody
Changed in indicator-power:
milestone: none → 12.10.2

The current behavior is consistent with 12.04, but these new & improved icons make the problem easier to see.

Looks like the battery-full-symbolic, battery-good-symbolic, battery-low-symbolic icons are getting used first. Daniel's apparently seeing the drop from -full to -good, which in the icons appears as a 50% drop.

Placing the percentage-based icons higher in the iconname list for g_themed_icon_new_from_names() ought to improve this.

Charles Kerr (charlesk) on 2012-09-21
summary: - Battery icon shows full until close to 50%
+ When discharging, battery icon shows full until close to 50%
Changed in indicator-power:
status: Triaged → In Progress
Quim Gil (quimgil) wrote :

One point to consider: when the battery is charging the icon actually reflects properly the charge. Plug and unplug the power chord and you will clearly see the difference.

Quim Gil (quimgil) wrote :

Sorry for the extra comment: what is more problematic, is that while the Power Settings window is showing the "Caution: Low battery" message, the icon in the panel is still showing half charge. A red icon would be expected as soon as the low battery level is reached.

Charles Kerr (charlesk) on 2012-10-03
Changed in indicator-power:
status: In Progress → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-power - 12.10.2-0ubuntu1

---------------
indicator-power (12.10.2-0ubuntu1) quantal; urgency=low

  * New upstream release.
    - Show a more accurate view of discharging batteries (LP: #1054146)
    - Fix a GIcon memory leak
    - In device.c, include gi18n-lib.h instead of gi18n.h
 -- Sebastien Bacher <email address hidden> Wed, 03 Oct 2012 21:26:58 +0200

Changed in indicator-power (Ubuntu):
status: Triaged → Fix Released
Quim Gil (quimgil) wrote :

I just updated packages and it seems to work. Before the update the battery was about 60% with icon indicating full charge. After logging off and on, now battery icon shows that 60% approx.

Thank you!

Changed in indicator-power:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers