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 dynamic max. duration
From: Uwe Freese (mail_at_uwe-freese.de)
Date: 2002-08-21


Hello Heikki,

Uwe Freese wrote on Saturday, August 17, 2002, 9:34:02 PM:

UF> Instead of using the static CHARGE_MAX_TIME of 6*60 min, i suggest:
UF> - set a value max_time when starting charging:
UF> max_time = CHARGE_MAX_TIME * (100-battery_level()) / 100;
UF> - change CHARGE_MAX_TIME to 8*60 min, because there exist 2000 mAh
UF> NiMh cells and I think I'll replace the standard 1500mAh cells. My
UF> recent charging of the 1500 mAh cells had a duration of 330 min.
UF> - end charging, if (charged_time > max_time)

I implemented it and it seems to work here. The max. duration is
written in the debug output, like:

ChgAt 74% max 124m

If you don't see any problems with the implementation, please commit
it in CVS. Thanks.

Bye, Uwe.




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