Extra battery detected which does not exist and is considered empty

Bug #882160 reported by A. Bram Neijt
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

After a supsend, gnome-power-manager detects a second battery which is empty. The battery shows up in the panel icon.

When I start gnome-power-statistics, from the commandline, it lists the second battery and then aborts:
$ gnome-power-statistics
(gnome-power-statistics:3634): PowerManager-DEBUG: got filename: ac-adapter;
(gnome-power-statistics:3634): PowerManager-DEBUG: got filename: gpm-battery-missing;gpm-battery-000;battery-missing;
(gnome-power-statistics:3634): PowerManager-DEBUG: got filename: gpm-battery-100-charging;battery-full-charging;
(gnome-power-statistics:3634): PowerManager-DEBUG: selected row is: /org/freedesktop/UPower/devices/battery_BAT0
(gnome-power-statistics:3634): PowerManager-DEBUG: selected row is: /org/freedesktop/UPower/devices/battery_BAT1
**
PowerManager:ERROR:gpm-statistics.c:416:gpm_device_state_to_localised_string: code should not be reached
Aborted

Because I have suspend issues with the new Oneiric release, I had acpi_listen running in the background. This also repots a second battery:

Started Wed Oct 26 19:02:13 CEST 2011
battery BAT0 00000081 00000001
battery BAT1 00000081 00000000
battery BAT0 00000080 00000001

The E6510 laptop is notorious for it's power problems. So I would like to add that I have BIOS A10 and no extra kernel parameters at the moment.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-power-manager 3.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-13.21-generic 3.0.6
Uname: Linux 3.0.0-13-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: 9acf66a3871e17f683940a81669f9f51
CheckboxSystem: d00f84de8a555815fa1c4660280da308
Date: Wed Oct 26 19:17:50 2011
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: Dell Inc. Latitude E6510
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-13-generic root=UUID=d9d49fb9-bbe3-4669-9d5f-a707232955d6 ro
SourcePackage: gnome-power-manager
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/23/2011
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A10
dmi.board.name: 0N5KHN
dmi.board.vendor: Dell Inc.
dmi.board.version: A02
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA10:bd08/23/2011:svnDellInc.:pnLatitudeE6510:pvr0001:rvnDellInc.:rn0N5KHN:rvrA02:cvnDellInc.:ct9:cvr:
dmi.product.name: Latitude E6510
dmi.product.version: 0001
dmi.sys.vendor: Dell Inc.
gnome-power-bugreport: Error: [Errno 2] No such file or directory

Revision history for this message
A. Bram Neijt (bneijt) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-power-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

Same here on a E6420, except that gnome-power-statistics runs fine (although I did see it abort at times).

Every time I resume from suspend without AC, I'm left wondering whether I'm going to hibernate in a second or not.

Revision history for this message
Philipp Kern (pkern) wrote :

Some more information and a link to a workaround can be found in #885722.

Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Medium
Revision history for this message
trombka (trombka) wrote :

After upgrading the system I do not experience this problem on my Dell e6320 at the moment.

gnome-power-manager 3.2.1-0ubuntu1
linux-image 3.0.0.14.16

Revision history for this message
Michael (michaeljt) wrote :

See also bug 531190.

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.