dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Re: charging algorithm dynamic max. duration

Re: charging algorithm dynamic max. duration

From: Uwe Freese <>
Date: Wed, 21 Aug 2002 00:26:35 +0200

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.
Received on 2002-08-21

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy