summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-01-18 19:48:34 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-01-18 19:48:34 +0000
commit26c06d165b6b4c33d7c058a5d2e8e39d42a30cbb (patch)
tree1f30e419d0c292bb61a66e79b2a9d92f4d02d126 /firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
parent42567ccd74f4f2858a9ae028074f3279cbd2c2b2 (diff)
downloadrockbox-26c06d165b6b4c33d7c058a5d2e8e39d42a30cbb.tar.gz
rockbox-26c06d165b6b4c33d7c058a5d2e8e39d42a30cbb.tar.bz2
rockbox-26c06d165b6b4c33d7c058a5d2e8e39d42a30cbb.zip
Commit battery discharge curve for c200v1 by BertrikSikken. The old one wasn't very realistic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19795 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c')
-rw-r--r--firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c b/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
index 9d7a0e2965..6e4170db5a 100644
--- a/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
+++ b/firmware/target/arm/sandisk/sansa-c200/powermgmt-c200.c
@@ -37,9 +37,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] =
{
-
- /* NOTE: why is the top voltage 4237? That's just too high. */
- { 3286, 3679, 3734, 3764, 3788, 3824, 3886, 3950, 4014, 4098, 4237 },
+
+ /* Taken from BertrikSikken's bench on 2008-09-22 */
+ { 3400, 3689, 3744, 3773, 3798, 3831, 3886, 3947, 4005, 4102, 4220 },
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */