diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-07 14:33:45 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-07 14:33:45 +0000 |
commit | 3487b85d8953d654ca973c19d0b8cc46a175a302 (patch) | |
tree | 4df2bc0e9f6f03cd1b706b4ca33fdf8591c726d9 /firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c | |
parent | eae0cedefebfb6db9e37e6041868a32e8dc152fc (diff) | |
download | rockbox-3487b85d8953d654ca973c19d0b8cc46a175a302.tar.gz rockbox-3487b85d8953d654ca973c19d0b8cc46a175a302.zip |
Fuzev1: calibrated discharge curve
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c')
-rw-r--r-- | firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c b/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c index d0d39912f2..23b278e955 100644 --- a/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c +++ b/firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c | |||
@@ -37,8 +37,8 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = | |||
37 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ | 37 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ |
38 | const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = | 38 | const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = |
39 | { | 39 | { |
40 | /* TODO: simple linear uncalibrated curve */ | 40 | { 3300, 3676, 3715, 3749, 3783, 3812, 3850, 3918, 3982, 4065, 4148 } |
41 | { 3300, 3390, 3480, 3570, 3660, 3750, 3840, 3930, 4020, 4110, 4200 } | 41 | |
42 | }; | 42 | }; |
43 | 43 | ||
44 | #if CONFIG_CHARGING | 44 | #if CONFIG_CHARGING |