Re: Battery life estimation considered impossible?

2008-04-17 Thread Richard A. Smith
Martin Dengler wrote: 3. minutes_left = battery_capacity_pct / 0.59. From [1]. The magic constant is about 1.2 pct of battery capacity = 2 minutes of power; this is what I've observed and consistent with other reported capacities I've seen; but of course the approach is fatally flawed. Sorry

Re: Battery life estimation considered impossible?

2008-04-17 Thread Martin Dengler
On Thu, Apr 17, 2008 at 06:40:21AM -0400, Richard A. Smith wrote: Martin Dengler wrote: 3. minutes_left = battery_capacity_pct / 0.59. [. . .] but of course the approach is fatally flawed. Sorry I'm a bit late to respond. My attention has been elsewhere. It was well worth the (very

Re: Battery life estimation considered impossible?

2008-04-15 Thread Marco Pesenti Gritti
On Tue, Apr 15, 2008 at 5:06 AM, Chris Ball [EMAIL PROTECTED] wrote: Hi, Can anyone opine as to whether it's possible/feasible right now to estimate number of minutes of battery power remaining? You could look at gnome-power-manager, which performs a principled estimation -- a

Re: Battery life estimation considered impossible?

2008-04-15 Thread Marco Pesenti Gritti
On Tue, Apr 15, 2008 at 12:40 PM, Martin Dengler [EMAIL PROTECTED] wrote: I *think* Richard mentioned that he planned to move the gnome-power-manager logic to OHM at some point. That would be excellent! I was going to look at g-p-m as Chris mentioned, on the off (ok, non-existent)

Re: Battery life estimation considered impossible?

2008-04-15 Thread Martin Dengler
On Tue, Apr 15, 2008 at 11:35:39AM +0200, Marco Pesenti Gritti wrote: On Tue, Apr 15, 2008 at 5:06 AM, Chris Ball [EMAIL PROTECTED] wrote: Hi, Can anyone opine as to whether it's possible/feasible right now to estimate number of minutes of battery power remaining? You could

Re: Battery life estimation considered impossible?

2008-04-15 Thread Chris Ball
Hi, I *think* Richard mentioned that he planned to move the gnome-power-manager logic to OHM at some point. Sounds good. There haven't been any upstream commits to OHM in over six months, though, so I think we'd have to do this ourselves. - Chris. -- Chris Ball [EMAIL PROTECTED]

Battery life estimation considered impossible?

2008-04-14 Thread Martin Dengler
In the course of updating[1] sugar/view/devices/battery.py to look like Eben's new design[2], I wasn't able to come up with a satisfactory way to calculate remaining battery life. Can anyone opine as to whether it's possible/feasible right now to estimate number of minutes of battery power

Re: Battery life estimation considered impossible?

2008-04-14 Thread Chris Ball
Hi, Can anyone opine as to whether it's possible/feasible right now to estimate number of minutes of battery power remaining? You could look at gnome-power-manager, which performs a principled estimation -- a matrix of previous discharge rate intervals indexed by the charge at the time