summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-08-21 20:01:32 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-08-21 20:01:32 +0000
commit207a092ebdbd73d41a381e07189f5946800bc2dc (patch)
tree00d04f84444bf6c539c77dea4d7bcd7234086df8
parent1afc6ea661057721f8c0bb9ddc59b4a945fb2f0a (diff)
downloadrockbox-207a092ebdbd73d41a381e07189f5946800bc2dc.zip
rockbox-207a092ebdbd73d41a381e07189f5946800bc2dc.tar.gz
rockbox-207a092ebdbd73d41a381e07189f5946800bc2dc.tar.bz2
rockbox-207a092ebdbd73d41a381e07189f5946800bc2dc.tar.xz
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
-rw-r--r--firmware/export/powermgmt.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index f083883..5a2f936 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)