|
|
Rockbox mail archiveSubject: charging algorithm averagingFrom: Uwe Freese (mail_at_uwe-freese.de) Date: 2002-08-12
Hello Heikki,
Comment to charging algorithm:
An average gradient (the delta), I would calculate like this
instead of delta = (s6 - s1) / 6
and for the long term small positive delta:
instead delta = (s30 - s1) / 30
For the real code, the first looks like this (CHARGE_END_NEGD has to
delta = ( power_history[POWER_HISTORY_LEN-1]
Bye, Uwe.
Page was last modified "Jan 10 2012" The Rockbox Crew |