summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-07 14:33:45 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-07 14:33:45 +0000
commit3487b85d8953d654ca973c19d0b8cc46a175a302 (patch)
tree4df2bc0e9f6f03cd1b706b4ca33fdf8591c726d9
parenteae0cedefebfb6db9e37e6041868a32e8dc152fc (diff)
downloadrockbox-3487b85d8953d654ca973c19d0b8cc46a175a302.tar.gz
rockbox-3487b85d8953d654ca973c19d0b8cc46a175a302.tar.bz2
rockbox-3487b85d8953d654ca973c19d0b8cc46a175a302.zip
Fuzev1: calibrated discharge curve
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25874 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/sansa-fuze/powermgmt-fuze.c4
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] =
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{
- /* TODO: simple linear uncalibrated curve */
- { 3300, 3390, 3480, 3570, 3660, 3750, 3840, 3930, 4020, 4110, 4200 }
+ { 3300, 3676, 3715, 3749, 3783, 3812, 3850, 3918, 3982, 4065, 4148 }
+
};
#if CONFIG_CHARGING