On 19 October 2011 16:45, Leonardo Robol <[email protected]> wrote: > If you think that this isn't a good idea, feel free to remove it.
I've merged your patch with a few stylistic tweaks as: commit b971b43c45bef9251e1d6389716b9fbe107802c7 Author: Leonardo Robol <[email protected]> Date: Wed Oct 19 17:13:12 2011 +0100 Use linear regression to get better predicted battery times For hardware that has no rate data we use the differences in charge over a time period to work out the effective rate. Using linear regression this estimation is much more realistic. To do this, introduce a simple circular buffer and use an index to calculate the rate on each update. Signed-off-by: Richard Hughes <[email protected]> Thanks! Richard. _______________________________________________ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel
