Battery life estimation considered impossible?

Martin Dengler martin at
Mon Apr 14 22:32:13 EDT 2008

In the course of updating[1] sugar/view/devices/ 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 remaining?

Can anyone do better than my naive algorithm[3]?




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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the Devel mailing list