shows "laptop battery is charged" at the same time as an almost-empty icon

Bug #579513 reported by Martin Pool
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: indicator-applet

I have an X61s running lucid. It's battery is getting low. acpi reports

mbp@lithe% acpi
Battery 0: Discharging, 23%, 00:51:47 remaining

and the indicator icon shows the battery partially-filled in red. However the menu underneath it shows "Laptop battery is charged" which is incorrect.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: indicator-applet 0.3.6-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
CheckboxSubmission: a72aa433ee7cbc70b12a74f6938b856b
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Wed May 12 17:03:25 2010
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
SourcePackage: indicator-applet
---
Architecture: i386
CheckboxSubmission: a72aa433ee7cbc70b12a74f6938b856b
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
DistroRelease: Ubuntu 10.04
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
MachineType: LENOVO 76697DM
Package: gnome-power-manager 2.30.0-0ubuntu1
PackageArchitecture: i386
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-22-generic root=/dev/mapper/hostname_ssd-root ro vga=792 rootdelay=10 quiet splash
ProcEnviron:
 PATH=(custom, user)
 LANG=en_AU.UTF-8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Tags: lucid ubuntu-unity
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy plugdev tape video
dmi.bios.date: 09/19/2007
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NET27WW (1.08 )
dmi.board.name: 76697DM
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7NET27WW(1.08):bd09/19/2007:svnLENOVO:pn76697DM:pvrThinkPadX61s:rvnLENOVO:rn76697DM:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 76697DM
dmi.product.version: ThinkPad X61s
dmi.sys.vendor: LENOVO

Revision history for this message
Martin Pool (mbp) wrote :
Omer Akram (om26er)
affects: indicator-applet (Ubuntu) → gnome-power-manager (Ubuntu)
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command when experiencing this problem, as it will automatically gather debugging information, in a terminal:

apport-collect 579513

This will help us to find and resolve the problem. Bear in mind that you may need to install the python-launchpadlib package from the universe repository. Additionally, when prompted to give apport-collect permissions for Launchpad you will need to give it at least the ability to "Change Non-Private" data as it will be adding information to your bug report. Thanks in advance!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in gnome-power-manager (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Martin Pool (mbp) wrote : BootDmesg.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Martin Pool (mbp) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : Dependencies.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : DevkitPower.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : GConfNonDefault.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : Lspci.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : Lsusb.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : ProcModules.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : UdevDb.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : UdevLog.txt

apport information

Revision history for this message
Martin Pool (mbp) wrote : gnome-power-bugreport.txt

apport information

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

I've seen this on at least one other occasion.

Revision history for this message
James Aspnes (aspnes) wrote :

This script will wake up the battery monitor. It looks like the problem may actually be in upower. The command is from an earlier thread on the same bug from 9.10 (it was never fixed there either), with some tweaks for the change to upower.

#!/bin/sh
# magic trick for waking up stuck gnome-power-manager battery monitor
dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower/devices/battery_BAT1 org.freedesktop.UPower.Device.Refresh

Revision history for this message
AFarris01 (afarris01) wrote :

I'm also experiencing this issue.

I have a Dell Inspiron 1545, and for me, if I scroll over the battery monitor, it states that 'Laptop Battery is Charged', despite the fact that the battery is at about 2% charge.

I believe the issue here is that the applet is simply looking at the 'charging rate' to determine if the battery is charged or not. In my case, my charger is faulty, and the laptop (presumably to protect itself) refuses to charge the battery anymore with the faulty charger.

I've ordered a new charger for myself, so the issue will be fixed for me shortly, however I think the battery monitor in gnome-power-manager should be smart enough to recognize that even though the battery isn't charging, that it isn't fully charged. I'm not even talking about the 'design charge' I'm referring to the 'Capacity' rating, as listed in the "Power Statistics" window you get if you left-click on the battery icon and click the battery in the list. This window shows all the correct information about my battery (including charge percentage, capacity, etc.) and I believe that this information should be taken into account when determining what info to display in the icon.

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.