Update battery discharge curve and current consumption for iRiver h10 5GB. Thanks to Danny Attar for measuring.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25279 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-03-21 19:02:09 +00:00
parent bc8b9da4d0
commit 091fc75034
3 changed files with 18 additions and 12 deletions

View file

@ -533,6 +533,7 @@ Kevin Schoedel
Jens Theeß
Alexey Nemtsev
Pascal Below
Danny Attar
The libmad team
The wavpack team

View file

@ -113,6 +113,11 @@
/* define this if the unit can be powered or charged via USB */
#define HAVE_USB_POWER
/* define current usage levels */
#define CURRENT_NORMAL 98 /* ~8.4h (820mAh) from bench with r25244 */
#define CURRENT_BACKLIGHT 20 /* FIXME: this needs adjusting */
#define CURRENT_RECORD 35 /* FIXME: this needs adjusting */
#ifndef SIMULATOR
/* Define this if you have a PortalPlayer PP5020 */

View file

@ -26,40 +26,40 @@
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
#ifdef IRIVER_H10
#if defined(IRIVER_H10)
3733
#elif defined IRIVER_H10_5GB
3695
#elif defined(IRIVER_H10_5GB)
3700
#endif
};
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
{
#ifdef IRIVER_H10
3627
#elif defined IRIVER_H10_5GB
#if defined(IRIVER_H10)
3627
#elif defined(IRIVER_H10_5GB)
3600
#endif
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
{
#ifdef IRIVER_H10
#if defined(IRIVER_H10)
{ 3733, 3772, 3821, 3840, 3869, 3917, 3985, 4034, 4072, 4140, 4198 }
#elif defined IRIVER_H10_5GB
{ 3695, 3714, 3772, 3791, 3811, 3850, 3908, 3985, 4024, 4111, 4198 }
#elif defined(IRIVER_H10_5GB)
{ 3700, 3800, 3850, 3880, 3910, 3960, 4000, 4070, 4120, 4210, 4280 }
#endif
};
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
const unsigned short percent_to_volt_charge[11] =
{
#ifdef IRIVER_H10
#if defined(IRIVER_H10)
3956, 3995, 4024, 4043, 4063, 4082, 4111, 4140, 4179, 4218, 4266
#elif defined IRIVER_H10_5GB
#elif defined(IRIVER_H10_5GB)
/* TODO: Not yet calibrated */
3850, 3888, 3927, 3966, 4024, 4063, 4111, 4150, 4198, 4237, 4286
3700, 3800, 3850, 3880, 3910, 3960, 4000, 4070, 4120, 4210, 4280
#endif
};