From 8839f18cc8234857e1ec3e77cdfa1f8daec311d9 Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Mon, 29 Jun 2009 18:32:43 +0000 Subject: Move Archos battery runtime estimation defines into config files instead of powermgmt.h. Replace old default values (which were actually the Archos Player currents) with a new default (1mA). This should give nonsense runtime estimates (instead of semi-reasonable but completely wrong estimates) on all players that do not have a battery current defined. Hopefully this will remind people that they should define the battery current when they start a new port. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21565 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-fmrecorder.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'firmware/export/config-fmrecorder.h') diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h index bc859df67a..acc1c74dcf 100644 --- a/firmware/export/config-fmrecorder.h +++ b/firmware/export/config-fmrecorder.h @@ -88,6 +88,10 @@ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ +#define CURRENT_NORMAL 145 /* usual current in mA */ +#define CURRENT_RECORD 35 /* additional recording current */ +#define CURRENT_USB 500 /* usual current in mA in USB mode */ + /* Hardware controlled charging with monitoring */ #define CONFIG_CHARGING CHARGING_MONITOR -- cgit v1.2.3