battery charge incorrectly reported when A/C power turned off

Bug #576373 reported by Jon Farmer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gnome-power-manager

When the A/C power is removed from a fully charged battery the power manager immediately reports low power (2%) and hibernates. If you power back up straightaway the power manager reports 100%. Running acpi between pulling the power and the system hibernating shows battery is at 99% charge. This makes it impossible to pull the power cord from a booted system and not getting an immediate hibernation.

Ubuntu 10.04 LTS

gnome-power-manager:
  Installed: 2.30.0-0ubuntu1
  Candidate: 2.30.0-0ubuntu1
  Version table:
 *** 2.30.0-0ubuntu1 0
        500 http://gb.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: gnome-power-manager 2.30.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Thu May 6 13:49:21 2010
ExecutablePath: /usr/bin/gnome-power-manager
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Beta i386 (20100318)
MachineType: DIXONSXP Advent 4211
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-21-generic root=UUID=230ace23-f075-440e-a5d6-d8d23cf98a55 ro quiet splash
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: gnome-power-manager
dmi.bios.date: 08/29/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 4.6.3
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: Advent 4211
dmi.board.vendor: DIXONSXP
dmi.board.version: Ver.001
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: DIXONSXP
dmi.chassis.version: Ver.001
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr4.6.3:bd08/29/2008:svnDIXONSXP:pnAdvent4211:pvrVer.001:rvnDIXONSXP:rnAdvent4211:rvrVer.001:cvnDIXONSXP:ct3:cvrVer.001:
dmi.product.name: Advent 4211
dmi.product.version: Ver.001
dmi.sys.vendor: DIXONSXP

Revision history for this message
Jon Farmer (viperdudeuk) wrote :
Revision history for this message
Paul Tansom (aptanet) wrote :

I have a very similar problem to this in that the low battery is reported immediately the power is disconnected. Thankfully in my case the machine doesn't go as far as powering down. The machine is an HP Mini 2133 netbook that was installed with 9.04 UNR and has been upgraded through 9.10 through to 10.04. More details can be supplied but the battery info is:

paul@pygmy:/proc/acpi/battery/BAT1$ cat info
present: yes
design capacity: 2600 mWh
last full capacity: 2326 mWh
battery technology: non-rechargeable
design voltage: 10800 mV
design capacity warning: 232 mWh
design capacity low: 116 mWh
capacity granularity 1: 0 mWh
capacity granularity 2: 100 mWh
model number: Galileo
serial number: 00001
battery type: LiOn
OEM info: OEM

Oddly this is a rechargeable battery, even though it states non-rechargeable!

Revision history for this message
Konstantin Lavrov (lacosta) wrote :

That could help:

You might be able to use the percentage charge for g-p-m to use as the policy data. Open gconf-editor, and then change the key /apps/gnome-power-manager/use_time_for_policy to false. You can do this easily by doing:

gconftool-2 --set --type bool /apps/gnome-power-manager/use_time_for_policy false This should get the policy actions working for you, but of course the time remaining will still be incorrect.

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.