gnome-power-manager adds battery to indicator twice when battery hot-unplugged and plugged back in
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power |
New
|
Medium
|
|||
gnome-power-manager (Ubuntu) |
Invalid
|
Medium
|
Phillip Susi | ||
Natty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-power-manager
TEST CASE:
1. Start gnome-power-
2. Unplug the battery.
3. Wait until gnome-power-
4. Plug the battery back in.
5. Wait until gnome-power-
6. Click on the gnome-power-manager indicator, and notice duplicate entries of the same battery listed.
In addition to this, removing the battery again causes gnome-power-manager to leave one entry behind with the status as "Estimating..."
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-power-manager 2.32.0-0ubuntu1
Uname: Linux 2.6.37-rc1-hyper1 x86_64
Architecture: amd64
Date: Sun Nov 14 15:07:12 2010
GnomeSessionIdl
GnomeSessionInh
GnomeSessionSus
MachineType: LENOVO LENOVO3000 Y410
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LANGUAGE=en_SG:en
PATH=(custom, user)
LANG=en_SG.utf8
SHELL=/bin/zsh
SourcePackage: gnome-power-manager
dmi.bios.date: 06/17/2008
dmi.bios.vendor: LENOVO
dmi.bios.version: 05CN71WW(V3.09)
dmi.board.name: IGT30
dmi.board.vendor: LENOVO
dmi.board.version: REFERENCE
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: No Enclosure
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: LENOVO3000 Y410
dmi.sys.vendor: LENOVO
Related branches
- Marc Deslauriers: Approve
- Michele Damiano Torelli (community): Approve
- Luke Yelavich: Pending requested
- Ubuntu branches: Pending requested
-
Diff: 1358 lines (+1308/-3)6 files modified.pc/16-fix-duplicate-battery.patch/src/gpm-engine.c (+1277/-0)
.pc/applied-patches (+1/-0)
debian/changelog (+8/-0)
debian/patches/16-fix-duplicate-battery.patch (+20/-0)
debian/patches/series (+2/-0)
src/gpm-engine.c (+0/-3)
Changed in gnome-power: | |
importance: | Unknown → Medium |
status: | Unknown → New |
tags: | added: patch |
Changed in gnome-power-manager (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Undecided → Medium |
Changed in gnome-power-manager (Ubuntu Natty): | |
status: | New → Confirmed |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Changed in gnome-power-manager (Ubuntu): | |
status: | Confirmed → Invalid |
I can confirm this with up-to-date Natty. You might not want to remove the battery when running a 2.6.37-rc6 based kernel, as this can cause a system crash/oops: https:/ /lkml.org/ lkml/2010/ 12/19/90
To reproduce, I simply boot without the battery attached and then attach it while running.