summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2007-07-14 15:24:01 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2007-07-14 15:24:01 +0000
commit74ad216ad3a07c1fa5e2bc2516e471d7c0e394b0 (patch)
tree70933fa92a04f67d6379e6cb82fcdaf1a0f6f521
parente2014a9794be76841c90c9eee6c5944e92b17c34 (diff)
downloadrockbox-74ad216ad3a07c1fa5e2bc2516e471d7c0e394b0.zip
rockbox-74ad216ad3a07c1fa5e2bc2516e471d7c0e394b0.tar.gz
rockbox-74ad216ad3a07c1fa5e2bc2516e471d7c0e394b0.tar.bz2
rockbox-74ad216ad3a07c1fa5e2bc2516e471d7c0e394b0.tar.xz
More battery updates, this time for gigabeat. FS #7433 from Johnathon Mihalop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13891 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--docs/CREDITS1
-rw-r--r--firmware/powermgmt.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/docs/CREDITS b/docs/CREDITS
index 531f92d..69804bc 100644
--- a/docs/CREDITS
+++ b/docs/CREDITS
@@ -305,6 +305,7 @@ Paul Jones
Michael Giacomelli
Alex Wenger
Andree Buschmann
+Johnathon Mihalop
The libmad team
The wavpack team
The ffmpeg team
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 88dc3b9..c1321e6 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -250,7 +250,7 @@ static const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{ 103, 118, 121, 123, 124, 125, 126, 127, 128, 129, 135 } /* NiMH */
#elif CONFIG_BATTERY == BATT_LIION830
/* Toshiba Gigabeat Li Ion 830mAH figured from discharge curve */
- { 354, 357, 359, 361, 364, 366, 372, 381, 377, 381, 394 },
+ { 348, 355, 359, 361, 363, 365, 370, 376, 380, 391, 399 },
#elif CONFIG_BATTERY == BATT_LIION750
/* Sansa Li Ion 750mAH FIXME this is a first linear approach */
{ 330, 339, 348, 357, 366, 375, 384, 393, 402, 411, 420 },
@@ -289,7 +289,7 @@ static const unsigned short percent_to_volt_charge[11] =
330, 339, 348, 357, 366, 375, 384, 393, 402, 411, 420
#elif CONFIG_BATTERY == BATT_LIION830
/* Toshiba Gigabeat Li Ion 830mAH */
- 354, 357, 359, 361, 364, 366, 372, 381, 377, 381, 394
+ 348, 355, 359, 361, 363, 365, 370, 376, 380, 391, 399
#elif CONFIG_BATTERY == BATT_LPCS355385
/* iriver H10 20GB */
399, 403, 406, 408, 410, 412, 415, 418, 422, 426, 431