forked from len0rd/rockbox
First lame attempt to show correct battery level on the iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6258 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
09e55a9218
commit
43bf39edb7
6 changed files with 26 additions and 4 deletions
|
|
@ -110,7 +110,9 @@ static const short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
|||
#elif CONFIG_BATTERY == BATT_3AAA
|
||||
/* measured values */
|
||||
{ 280, 325, 341, 353, 364, 374, 385, 395, 409, 427, 475 }, /* alkaline */
|
||||
{ 310, 355, 363, 369, 372, 374, 376, 378, 380, 386, 405 } /* NiMH */
|
||||
{ 310, 355, 363, 369, 372, 374, 378, 378, 380, 386, 405 } /* NiMH */
|
||||
#elif CONFIG_BATTERY == BATT_LIPOL1300
|
||||
{ 333, 341, 349, 358, 365, 373, 370, 386, 393, 400, 409 }
|
||||
#else /* NiMH */
|
||||
/* original values were taken directly after charging, but it should show
|
||||
100% after turning off the device for some hours, too */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue