summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.h
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2002-12-14 21:01:32 +0000
committerUwe Freese <thebreaker@rockbox.org>2002-12-14 21:01:32 +0000
commit0f30f66c6c575d9a3aa8bd4fa2fe6607db7b2076 (patch)
treebf116ba56b50159b8a87abaf00c90237613f7ce7 /firmware/powermgmt.h
parent48e8e98efa4cb30a72ee4f8ef7be17e372db84b7 (diff)
downloadrockbox-0f30f66c6c575d9a3aa8bd4fa2fe6607db7b2076.tar.gz
rockbox-0f30f66c6c575d9a3aa8bd4fa2fe6607db7b2076.zip
max charge duration now depends on batt. capacity and is a little longer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2992 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.h')
-rw-r--r--firmware/powermgmt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/powermgmt.h b/firmware/powermgmt.h
index f2f3a0ef94..5e828e265f 100644
--- a/firmware/powermgmt.h
+++ b/firmware/powermgmt.h
@@ -39,7 +39,8 @@
39 39
40#ifdef HAVE_CHARGE_CTRL 40#ifdef HAVE_CHARGE_CTRL
41#define POWER_MESSAGE_LEN 32 /* power thread status message */ 41#define POWER_MESSAGE_LEN 32 /* power thread status message */
42#define CHARGE_MAX_TIME 8*60 /* minutes: maximum charging time */ 42#define CHARGE_MAX_TIME_1500 450 /* minutes: maximum charging time for 1500 mAh batteries */
43 /* actual max time depends also on BATTERY_CAPACITY! */
43#define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */ 44#define CHARGE_MIN_TIME 10 /* minutes: minimum charging time */
44#define CHARGE_RESTART_HI 85 /* %: when to restart charging in 'charge' mode */ 45#define CHARGE_RESTART_HI 85 /* %: when to restart charging in 'charge' mode */
45 /* attention: if set too high, normal charging is started in trickle mode */ 46 /* attention: if set too high, normal charging is started in trickle mode */