summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
authorUwe Freese <thebreaker@rockbox.org>2003-08-21 08:49:57 +0000
committerUwe Freese <thebreaker@rockbox.org>2003-08-21 08:49:57 +0000
commit056439e59dd7ef77bcc439b9801615f9c7421b87 (patch)
tree7091db373b38209f3de6119815f7a95c4bc78506 /firmware/powermgmt.c
parent18261c94ca568f1469cb3002bbe7ed5531c4e40f (diff)
Measured voltages for LiIon. I found rockbox-liion.gif
somewhere, didn't know where anymore. Thanks to the one who measured the values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3936 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 3f7ce3548c..13043cb88f 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -79,10 +79,8 @@ static int percent_to_volt_decharge[11] =
/* voltages (centivolt) of 0%, 10%, ... 100% when charging disabled */
{
#ifdef HAVE_LIION
- /* values guessed, see
- http://www.seattlerobotics.org/encoder/200210/LiIon2.pdf until someone
- measures voltages over a decharging cycle */
- 260, 280, 300, 320, 340, 350, 360, 370, 380, 390, 400
+ /* measured values */
+ 260, 285, 295, 303, 311, 320, 330, 345, 360, 380, 400
#else /* NiMH */
/* original values were taken directly after charging, but it should show
100% after turning off the device for some hours, too */