From 207a092ebdbd73d41a381e07189f5946800bc2dc Mon Sep 17 00:00:00 2001 From: Michael Giacomelli Date: Thu, 21 Aug 2008 20:01:32 +0000 Subject: [PATCH] Add rough estimate for iPod 4G power consumption. Probably a little off, but better then using the Archos numbers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18330 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/powermgmt.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index f083883ab9..5a2f9362a3 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h @@ -126,7 +126,13 @@ extern int trickle_sec; /* trickle charge: How many seconds per minute # define CURRENT_NORMAL 45 /* Should be nearly identical to E200 */ # define CURRENT_BACKLIGHT 40 /* Screen is about 20, blue LEDs are another 20, so 40 if both */ # define CURRENT_RECORD 40 /* flash player, so this is just unboosted current*/ -#else /* Not iriver H1x0, H3x0, nor Archos Ondio, nor iPod nano/Video, nor Sansas */ +#elif defined(IPOD_4G) /* iPOD 4G */ +# define CURRENT_NORMAL 100 /* MP3: ~10.5h out of 1100mAh battery */ +# define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */ +#if defined(HAVE_RECORDING) +# define CURRENT_RECORD 35 /* FIXME: this needs adjusting */ +#endif +#else /* Not iriver H1x0, H3x0, nor Archos Ondio, nor iPod nano/Video/4G, nor Sansas */ # define CURRENT_NORMAL 145 /* usual current in mA when using the AJB including some disk/backlight/... activity */ # define CURRENT_BACKLIGHT 30 /* additional current when backlight always on */ #if defined(HAVE_RECORDING)