Rate guessing code
Danny Kukawka
danny.kukawka at web.de
Sat Nov 5 10:34:44 PST 2005
On Saturday 05 November 2005 14:07, Richard Hughes wrote:
> For batteries with broken rate handing (i.e. that produce a rate value
> that is wildly inaccurate) your method to determine the time remaining
> would be much more accurate. Can we somehow test your fallback against
> the reported rate (and use yours automatically if the rate differs by
> too much) or is this too much overhead?
This is not the right way. The time with the methode for broken bios without
current rate is over a timeintervall. The current rate from a correct working
bios is in the most cases for the _actuall_ current rate, not over a time
intervall. You can't say which one is 'more' correct.
If the bios support current rate calculate with them and not with the other
over a (unknown) time intervall averaged value.
Cheers,
Danny
More information about the hal
mailing list