Calculation of Battery Power Consumsion was Mistake

Bug #877556 reported by t.alone.t@gmail.com
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Many times the power-manager was over estimate power consumption it cause of unexpected hibernate.
Some time it show that my laptop consume 1,000 W, it was impossible and never happen in Win7 on same laptop.
Please see the attached picture for consideration.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-power-manager 3.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
NonfreeKernelModules: fglrx wl
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
Date: Tue Oct 18 22:58:43 2011
ExecutablePath: /usr/bin/gnome-power-statistics
GnomeSessionIdleInhibited: No
GnomeSessionInhibitors: None
GnomeSessionSuspendInhibited: No
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: Hewlett-Packard Compaq Presario CQ41 Notebook PC
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=1968bb09-d725-4d13-8e8e-75a43c0d8adb ro vga=792 quiet quiet splash vt.handoff=7
SourcePackage: gnome-power-manager
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (4 days ago)
XsessionErrors: (gwibber-service:2078): libindicate-WARNING **: Menu being changed when the indicator is visible. Listeners will NOT be notified of this change.
dmi.bios.date: 12/10/2009
dmi.bios.vendor: Insyde
dmi.bios.version: F.17
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 3644
dmi.board.vendor: Hewlett-Packard
dmi.board.version: 40.23
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnInsyde:bvrF.17:bd12/10/2009:svnHewlett-Packard:pnCompaqPresarioCQ41NotebookPC:pvr0396200000000D10000000000:rvnHewlett-Packard:rn3644:rvr40.23:cvnHewlett-Packard:ct10:cvrN/A:
dmi.product.name: Compaq Presario CQ41 Notebook PC
dmi.product.version: 0396200000000D10000000000
dmi.sys.vendor: Hewlett-Packard
gnome-power-bugreport: Error: [Errno 2] No such file or directory

Revision history for this message
t.alone.t@gmail.com (t-alone-t) wrote :
Revision history for this message
t.alone.t@gmail.com (t-alone-t) wrote :
Revision history for this message
t.alone.t@gmail.com (t-alone-t) 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
David Collin (qccctraining) wrote :

Hi ,
Have clicked applies to me above, but running 32bit oneiric/unity 3d on aspire one netbook. Only happened once since fresh install 11.10. Fully updated as of this morning.
Battery on charge for 6 hours at work, so presume full, unplugged power when in an open email on Thunderbird, and went immediately to message 'critically low battery/power and will hibernate' - which it did.
Restarted and everything seems fine, except I just now unplugged the power and battery app shows 17.38 hours which is slightly impossible, but has not shut down again. Looked at power usage graphs and no spikes/high power usage like OP had.
Just looked into logs and nothing at all in there - which seems odd - it is completely empty????

Revision history for this message
calimocho (d-martinez7) wrote :

I've had this problem since 10.10. (Now on 11.10). It was just annoying up to this point, but gnome3 only lets you hibernate or shutdown for critical battery.

If I had to wager, I'd say the problem has to do with using the battery remaning charge divided by the battery *designed* full capacity, not the battery present full capacity. Batteries lose maximum charge hold over time. My laptop is about 1.5 years old, and 'lshal | grep battery' yields this:

battery.charge_level.design = 62160
battery.charge_level.last_full = 31646

When I get to about 40-50% of possible charge (maybe ~14000 in units from above) the battery warnings start coming. I usually have 30 - 40 minutes (get about an hour and some change on a full charge). 14000/31646 = 40%. But if the *designed* capacity were used instead 14000/62160 = 22%, now we starting to get towards warning territory.

I can use the battery down until the hardware warning comes on ok, but if i suspend and wake it with the battery at 50% (roughly) or lower, it will immediately hibernate. I can then restore it, and it runs fine.

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.