summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-16 22:53:54 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-02-16 22:53:54 +0000
commit909e4c6c06e004a6063cab014c12bcef6a2b37e5 (patch)
treeb64c604449db683cf13928cda463131bfb0696f0 /firmware/export
parent53b1af7a61898ac76a94018fc1863c2a2abf9d3c (diff)
downloadrockbox-909e4c6c06e004a6063cab014c12bcef6a2b37e5.zip
rockbox-909e4c6c06e004a6063cab014c12bcef6a2b37e5.tar.gz
rockbox-909e4c6c06e004a6063cab014c12bcef6a2b37e5.tar.bz2
rockbox-909e4c6c06e004a6063cab014c12bcef6a2b37e5.tar.xz
Add iPod 3G and iPod Color/Photo (FS#9072) current consumption and battery discharge curves to allow reasonable runtime estimation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24709 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/ipod3g.h7
-rw-r--r--firmware/export/config/ipodcolor.h7
2 files changed, 14 insertions, 0 deletions
diff --git a/firmware/export/config/ipod3g.h b/firmware/export/config/ipod3g.h
index e82cc92..2eafe81 100644
--- a/firmware/export/config/ipod3g.h
+++ b/firmware/export/config/ipod3g.h
@@ -127,6 +127,13 @@
/* Hardware controlled charging? FIXME */
#define CONFIG_CHARGING CHARGING_SIMPLE
+/* define current usage levels */
+#define CURRENT_NORMAL 275 /* ~4h (1100mAh) */
+#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
+#if defined(HAVE_RECORDING)
+#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
+#endif
+
/* Define this if you have a PortalPlayer PP5002 */
#define CONFIG_CPU PP5002
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h
index c0168d9..aa76f74 100644
--- a/firmware/export/config/ipodcolor.h
+++ b/firmware/export/config/ipodcolor.h
@@ -121,6 +121,13 @@
/* define this if the unit can be powered or charged via USB */
#define HAVE_USB_POWER
+/* define current usage levels */
+#define CURRENT_NORMAL 69 /* ~10h (700mAh), see FS#9072 */
+#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
+#if defined(HAVE_RECORDING)
+#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
+#endif
+
/* Define Apple remote tuner */
#define CONFIG_TUNER IPOD_REMOTE_TUNER
#define HAVE_RDS_CAP