summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-05 00:20:35 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-05 00:20:35 +0000
commit7a8326e283d0fa2fd90e46904dc7cca82dab012e (patch)
tree80ee7408d0019f31e040bf622ba239356a04a796 /firmware
parent7b8767c093cce5ccede17ac4b9036b136593e7fa (diff)
Calibrated (discharge) battery percentage table for iAudio X5(L) and M5(L). Runcurrent values and hence runtime estimation is still off, but battery percentage should be ok now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13024 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/powermgmt.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 5f112c3545..e1ec1a6017 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -240,14 +240,10 @@ static const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{ 310, 355, 363, 369, 372, 374, 376, 378, 380, 386, 405 } /* NiMH */
#elif CONFIG_BATTERY == BATT_LIPOL1300
/* Below 337 the backlight starts flickering during HD access */
- { 337, 365, 370, 374, 378, 382, 387, 393, 400, 408, 416 }
+ { 337, 365, 370, 374, 378, 382, 387, 393, 400, 408, 416 }
#elif CONFIG_BATTERY == BATT_IAUDIO_X5M5
- /* iAudio x5 series - still experimenting with best curve */
-// Lithium ion discharge curve
- { 355, 356, 357, 359, 362, 365, 369, 374, 380, 387, 395 }
-// Linear
-// { 355, 360, 364, 369, 373, 378, 382, 387, 391, 390, 400 }
-// { 355, 359, 363, 367, 371, 375, 379, 383, 387, 391, 395 }
+ /* average measured values from X5 and M5L */
+ { 350, 365, 372, 374, 376, 379, 384, 390, 395, 404, 412 }
#elif CONFIG_BATTERY == BATT_LPCS355385
/* iriver H10 20GB */
{ 376, 380, 385, 387, 390, 395, 402, 407, 411, 418, 424 }