Bug 24329

Summary: Dell Mini 9 does not show remaining battery time
Product: upower Reporter: Martin Pitt <martin.pitt>
Component: generalAssignee: Richard Hughes <richard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: brian
Version: unspecified   
Hardware: All   
OS: Linux (All)   
URL: https://launchpad.net/bugs/439783
See Also: https://launchpad.net/bugs/629258
Whiteboard:
i915 platform: i915 features:
Attachments: gnome-power-bug output
Output from gnome-power-bugreport whilst AC disconnected

Description Martin Pitt 2009-10-05 09:10:42 UTC
Hello Richard,

I got a report in Ubuntu that dk-p does not show the remaining battery life any more on a Dell Mini 9 with two separate batteries: the stock factory battery and an aftermarket extended battery

This reportedly worked well with hal, so I guess from a hardware POV it should be supported.

I attach the gnome-power-bug result here. Is there something else I need to get from the reporter?

Thank you!

Martin

P.S. We currently have a git head snapshot from 20090913, so it should be pretty recent.
Comment 1 Martin Pitt 2009-10-05 09:11:17 UTC
Created attachment 30088 [details]
gnome-power-bug output
Comment 2 Richard Hughes 2009-10-06 00:46:47 UTC
Battery is broken:

>energy-rate:         0 W

So we need to fallback to the time estimation code, which isn't turned on by default yet in DeviceKit-power. I'll look more at how much work it would be to switch it on after the release today.
Comment 3 William Davis 2009-11-01 17:35:38 UTC
Created attachment 30904 [details]
Output from gnome-power-bugreport whilst AC disconnected

I can confirm this bug on my System76 Pangolin (PanP5).  I'm happy to provide any additional information to help you squash this bug.
Comment 4 Milan Bouchet-Valat 2011-02-21 00:07:15 UTC
Any news on that bug? It seems to affect a few HP laptops too (using a dm4 here, but also affects HP Mini). Or has it been fixed upstream without updating the report?
Comment 5 Ian B. MacDonald 2011-05-09 19:39:48 UTC
One of the downstream bugs is over a couple hundred users marking this as "affecting them". (I added the URL above) Personally, I have lost batter power estimation in minutes on both my HP laptops (dv5 and dv7) and am curious as to the technical challenges of migrating the older way of battery monitoring (which used to work great for me) forwards.  

Given the number of comments downstream (where somebody suggests it is being handled upstream - with a re-assuring please no more comments or "me too"), I am wondering if this bug needs a new title and/or some additional detail to get resolved. I actually think that user just didn't want to be email spammed on updates from new reports.

It is the longest standing, widest impacting, unresolved regression in Ubuntu that impacts myself, having stretched into its third distribution unresolved. (10.04, 10.10, 11.04)
Comment 6 Richard Hughes 2011-07-01 10:46:48 UTC
I think I've fixed this with:

commit 2d8358ae4eea4ecaa103891e660a5cdd4c166f5b
Author: Richard Hughes <richard@hughsie.com>
Date:   Fri Jul 1 14:57:28 2011 +0100

    Fix how we estimate the device rate for batteries that do not provide this data
    
    Based on a patch from Andy Eyre <andrew.eyre@medschool.ox.ac.uk>, many thanks.

Please re-open if it does not work for you.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.