I've been experiencing this bug as well on my HP Pavilion dv6000 ever
since Karmic.  I think the problem is related to the 'rate' that is
reported through lshal and devicekit.  The former reports the rate as
-1:

$ lshal | grep battery | grep rate
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.reporting.rate = -1  (0xffffffff)  (int)

Devicekit reports the rate as way too little:

$ devkit-power --dump | grep energy
    energy:              47.8336 Wh
    energy-empty:        0 Wh
    energy-full:         69.1456 Wh
    energy-full-design:  88.8 Wh
    energy-rate:         0.0148 W

When I divide the full value by the rate, I get 4672 hours, which is
much more than I can get out of my battery.  Just playing with numbers,
it looks like the rate may be off by a factor of 1500.  If it were 22.2
watts, then the energy-full/energy-rate would be about 3.1, which is
much closer to what I can actually get from this battery.

Of course, this is assuming that GPM even uses the devicekit numbers at
all.  If I get motivated later, maybe I'll look through the GPM source
to see if I can find where and how the time remaining is calculated.

-- 
Regression: devicekit-power does not display remaining battery time
https://bugs.launchpad.net/bugs/439783
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a subscriber of a duplicate bug.

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to