Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: charging algorithm averaging
From: Heikki Hannikainen (hessu_at_hes.iki.fi)
Date: 2002-08-13


On Tue, 13 Aug 2002, Uwe Freese wrote:

> I now think it should be:
>
> calculate if by delta = ((s4 + s5 + s6) - (s1 + s2 + s3)) / 3
>
> because (s4 + s5 + s6) makes an average value at s5 and (s1 + s2 + s3)
> at s2. s5 and s2 are 3 samples away, so is should be "/ 3".

  Yes, I noticed this already, I'm running it now with

  delta = ((s5 + s6) - (s1 + s2)) / 2

  experimenting takes quite some time 8-)

  - Hessu



Page was last modified "Jan 10 2012" The Rockbox Crew
aaa