power indicator shows a mouse battery as a laptop battery
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
indicator-power |
Fix Released
|
High
|
Charles Kerr | ||
indicator-power (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Quantal |
In Progress
|
High
|
Unassigned |
Bug Description
Impact:
some devices are displayed with the wrong icon
Test Case:
use a bluetooth mouse on a laptop, see if each device has the current icon displayed
Regression potential:
the update tweak the primary device selection and the icons to use, check that devices are correctly listed and that their icons match, check also that the primary icon (the one in the panel) is also the most important one
---
This occurs on an up to date (13 Oct 2012) 12.10 install. The battery indicator at the top of the screen displays the status of my bluetooth mouse's battery instead of the notebook's battery. Clicking on the battery icon shows that there are two batteries. Clicking on one of them brings the Power Statistics window, where two batteries are also listed, both as Laptop batteries. The one corresponding to the mouse says:
Device: battery_
Type: Laptop battery
Model: Targus Soft-Touch Bluetooth Mouse
(and some more data)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: gnome-power-manager 3.6.0-0ubuntu1
ProcVersionSign
Uname: Linux 3.5.0-17-generic x86_64
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sat Oct 13 00:09:35 2012
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Lars Karlitski (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 779 lines (+402/-233)5 files modifiedsrc/device.c (+18/-14)
src/indicator-power.c (+94/-71)
src/indicator-power.h (+2/-0)
tests/test-device.cc (+274/-148)
tests/test-indicator.cc (+14/-0)
Changed in indicator-power: | |
status: | New → In Progress |
assignee: | nobody → Charles Kerr (charlesk) |
Changed in indicator-power: | |
status: | In Progress → Fix Committed |
affects: | gnome-power-manager (Ubuntu) → indicator-power (Ubuntu) |
Changed in indicator-power (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in indicator-power (Ubuntu Quantal): | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in indicator-power (Ubuntu Quantal): | |
status: | Triaged → In Progress |
description: | updated |
Changed in indicator-power: | |
status: | Fix Committed → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.