summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2010-04-11 22:12:02 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2010-04-11 22:12:02 +0000
commit1eabe8042ae2953aaeacb24ee991b13bb9261e6a (patch)
tree161b1682a449581706f4c42f5ef3d399d1788546
parent84fe51f6d532b278f6f641827efb69c51c2e5516 (diff)
downloadrockbox-1eabe8042ae2953aaeacb24ee991b13bb9261e6a.tar.gz
rockbox-1eabe8042ae2953aaeacb24ee991b13bb9261e6a.zip
Tweaking iPod Video battery configuration. Dangerous battery level is latest reached below 3500 mV, discharge curve is optimized for stable runtime estimation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25600 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/ipod/powermgmt-ipod-pcf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/ipod/powermgmt-ipod-pcf.c b/firmware/target/arm/ipod/powermgmt-ipod-pcf.c
index c939f398e3..44e908a4a2 100644
--- a/firmware/target/arm/ipod/powermgmt-ipod-pcf.c
+++ b/firmware/target/arm/ipod/powermgmt-ipod-pcf.c
@@ -32,7 +32,7 @@ const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
32#if defined(IPOD_NANO) 32#if defined(IPOD_NANO)
33 3330 33 3330
34#elif defined(IPOD_VIDEO) 34#elif defined(IPOD_VIDEO)
35 3300 35 3500
36#elif defined(IPOD_COLOR) 36#elif defined(IPOD_COLOR)
37 3300 37 3300
38#elif defined(IPOD_3G) 38#elif defined(IPOD_3G)
@@ -66,8 +66,8 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
66 /* measured values */ 66 /* measured values */
67 { 3230, 3620, 3700, 3730, 3750, 3780, 3830, 3890, 3950, 4030, 4160 }, 67 { 3230, 3620, 3700, 3730, 3750, 3780, 3830, 3890, 3950, 4030, 4160 },
68#elif defined(IPOD_VIDEO) 68#elif defined(IPOD_VIDEO)
69 /* iPod Video 30GB Li-Ion 400mAh, first approach based upon measurements */ 69 /* iPod Video 30GB Li-Ion 400mAh */
70 { 3450, 3670, 3710, 3750, 3790, 3830, 3870, 3930, 4010, 4100, 4180 }, 70 { 3600, 3720, 3750, 3780, 3810, 3840, 3880, 3950, 4020, 4100, 4180 },
71#elif defined(IPOD_COLOR) 71#elif defined(IPOD_COLOR)
72 /* iPod Photo 30GB, see FS#9072 */ 72 /* iPod Photo 30GB, see FS#9072 */
73 { 3450, 3660, 3700, 3730, 3750, 3770, 3820, 3870, 3920, 4040, 4170 }, 73 { 3450, 3660, 3700, 3730, 3750, 3770, 3820, 3870, 3920, 4040, 4170 },
@@ -89,8 +89,8 @@ const unsigned short percent_to_volt_charge[11] =
89 /* measured values */ 89 /* measured values */
90 3230, 3620, 3700, 3730, 3750, 3780, 3830, 3890, 3950, 4030, 4160 90 3230, 3620, 3700, 3730, 3750, 3780, 3830, 3890, 3950, 4030, 4160
91#elif defined(IPOD_VIDEO) 91#elif defined(IPOD_VIDEO)
92 /* iPOD Video 30GB Li-Ion 400mAh, first approach based upon measurements */ 92 /* iPOD Video 30GB Li-Ion 400mAh */
93 3450, 3670, 3710, 3750, 3790, 3830, 3870, 3930, 4010, 4100, 4180 93 3600, 3720, 3750, 3780, 3810, 3840, 3880, 3950, 4020, 4100, 4180
94#elif defined(IPOD_COLOR) 94#elif defined(IPOD_COLOR)
95 /* iPod Photo 30GB, see FS#9072 */ 95 /* iPod Photo 30GB, see FS#9072 */
96 3450, 3660, 3700, 3730, 3750, 3770, 3820, 3870, 3920, 4040, 4170 96 3450, 3660, 3700, 3730, 3750, 3770, 3820, 3870, 3920, 4040, 4170