summaryrefslogtreecommitdiff
path: root/firmware/target/arm/sandisk
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2008-04-17 15:19:17 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2008-04-17 15:19:17 +0000
commitfc0eca35c2261c6370370499fe9fff632cbafa79 (patch)
treed672fe7659dc4b39f6a19a5272f250d543c61caf /firmware/target/arm/sandisk
parentb2e235c8dd0578dbb34100f54baeab4b0546f6d8 (diff)
Rough battery calibration for the c200 based on results posted by Tomasz Wasilczyk.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17152 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk')
-rw-r--r--firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c b/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
index 1de57cb184..a5b217c8b7 100644
--- a/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
+++ b/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
@@ -35,8 +35,9 @@ 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] =
{
- /* Sansa Li Ion 750mAH FIXME this is a first linear approach */
- { 3300, 3390, 3480, 3570, 3660, 3750, 3840, 3930, 4020, 4110, 4200 },
+
+ { 3286, 3679, 3734, 3764, 3788, 3824, 3886, 3950, 4014, 4098, 4237 },
+
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */