My HP G62-121EE laptop has libupower-glib1 and upower installed but it shows
just "laptop battery (estimating)..." :-( But if I click the menu, the power
statistics shows correct values for the Energy, charge, battery capacity,
etc. Probably the developers could introduce a daemon which monitors the
battery charge during discharge, compare the value with battery capacity,
and compute the estimated time remaining from the 2nd minute, every minute
:-) This would be a machine/driver independent code and also be intelligent
enough to show correct statistics, even if the user changes his
power-management schemes.
An important note, though, is to have a timer ticking (restart the timer
after *suspend*-resume/ *sleep-*resume/ power-on) for the daemon itself,
instead of using system clock. This is necessary, else the computation would
be wrong if a user resumes the session after a sleep or hibernate. Worse
still, it would be inaccurate if the user has changed the battery after a
hibernate!

On Mon, Nov 29, 2010 at 10:33 PM, Philip Guyton
<phil.lx...@googlemail.com>wrote:

> I have just come across this problem again with another machine (my
> previous post #107 was concerning a Compaq Presario A900 (bios f.33) )
>
> This time it is with an HP Pavilion dv8000.
> again whilst on battery:-
> cat /sys/class/power_supply/BAT1/current_now
> 0
> so no drain info available so this time I installed Andy Eyre's
> libupower-glib1 and upower from Brian Rogers hand ppa and the system now has
> working estimates of discharge and charge.
>
> Thanks Andy and Brian.
>
> --
> Battery life estimation never comes around
> https://bugs.launchpad.net/bugs/629258
> You received this bug notification because you are a direct subscriber
> of the bug.
>


-- 
--Sriram
<sriramoman_at_gmail_dot_com>

-- 
Battery life estimation never comes around
https://bugs.launchpad.net/bugs/629258
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is a subscriber of a duplicate bug (38795).

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

Reply via email to