From 3157e1395674a930c74e2ef4cc4ce78dffea8569 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 24 Dec 2008 16:58:41 +0000 Subject: Simplify powermgmt thread loops so it calls functions turn (no more power_thread_sleep). Do other target-friendly simplifications, generic battery switch handling and split sim-specific code. Whoever can, please verify charging on the Archos Recorder (due to change in the charger duty cycle code). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19579 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-h100.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'firmware/export/config-h100.h') diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 9c327f11fd..7f91e35fbf 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h @@ -110,9 +110,16 @@ #define BATTERY_TYPES_COUNT 1 /* only one type */ /* Hardware controlled charging */ -//#define CONFIG_CHARGING CHARGING_SIMPLE + #define CONFIG_CHARGING CHARGING_MONITOR /* FIXME: remove that once monitoring is fixed properly */ +/* define current usage levels */ +#define CURRENT_NORMAL 80 /* 16h playback on 1300mAh battery */ +#define CURRENT_BACKLIGHT 23 /* from IriverBattery twiki page */ +#define CURRENT_SPDIF_OUT 10 /* optical SPDIF output on */ +#define CURRENT_RECORD 105 /* additional current while recording */ +#define CURRENT_REMOTE 8 /* additional current when remote connected */ + #ifndef SIMULATOR /* Define this if you have a Motorola SCF5249 */ -- cgit v1.2.3