Review Request: Add a tooltip to battery monitor applet

Andrew Coles andrew.i.coles at googlemail.com
Thu Nov 26 12:42:08 CET 2009


2009/11/26 Kåre Särs <kare.sars at iki.fi>

>
> > perhaps you could add other statistics n'stuff too, or experiment with
> time
> > estimation methods... :)
> Would that increase the chance of being accepted?
>
>
Okay,  so predicting remaining battery time needs artificial intelligence -
the research question is to predict how many minutes of battery life remain
given the current state of the machine, and knowledge of what happened in
the past.  Simple linear regression (reported battery remaining divided by
reported power draw) is bogus for two reasons:

1) Accurate models of battery discharge are inherently non-linear, depending
on the power draw itself, temperature, age of the battery.
2) Much like the stock market, current power draw alone does not accurately
predict future power draw.

If you want to do the prediction properly, you need to learn a predictive
model based on past data for each user on each computer for each battery,
rather than pretending it's linear.  The model would be updated periodically
(say, once a minute) to account for discrepencies between what it predicted
and what was actually the case, thereby gradually improving over time.  The
choice of prediction machinery isn't so hard (pick a form of neural net,
e.g. a radial basis function), but the difficultly lies in the feature set:
how, in a few numbers (to avoid the curse of dimensionality) can you
characterise the current system state?  If you can get this nailed, it
should be possible to predict battery life with better accuracy than can be
done at the moment.

Andrew (PhD in AI)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20091126/d083e099/attachment.htm 


More information about the Plasma-devel mailing list