forked from len0rd/rockbox
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:
parent
bc8b9da4d0
commit
091fc75034
3 changed files with 18 additions and 12 deletions
|
@ -533,6 +533,7 @@ Kevin Schoedel
|
||||||
Jens Theeß
|
Jens Theeß
|
||||||
Alexey Nemtsev
|
Alexey Nemtsev
|
||||||
Pascal Below
|
Pascal Below
|
||||||
|
Danny Attar
|
||||||
|
|
||||||
The libmad team
|
The libmad team
|
||||||
The wavpack team
|
The wavpack team
|
||||||
|
|
|
@ -113,6 +113,11 @@
|
||||||
/* define this if the unit can be powered or charged via USB */
|
/* define this if the unit can be powered or charged via USB */
|
||||||
#define HAVE_USB_POWER
|
#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
|
#ifndef SIMULATOR
|
||||||
|
|
||||||
/* Define this if you have a PortalPlayer PP5020 */
|
/* Define this if you have a PortalPlayer PP5020 */
|
||||||
|
|
|
@ -26,40 +26,40 @@
|
||||||
|
|
||||||
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
|
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
|
||||||
{
|
{
|
||||||
#ifdef IRIVER_H10
|
#if defined(IRIVER_H10)
|
||||||
3733
|
3733
|
||||||
#elif defined IRIVER_H10_5GB
|
#elif defined(IRIVER_H10_5GB)
|
||||||
3695
|
3700
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
||||||
{
|
{
|
||||||
#ifdef IRIVER_H10
|
#if defined(IRIVER_H10)
|
||||||
3627
|
|
||||||
#elif defined IRIVER_H10_5GB
|
|
||||||
3627
|
3627
|
||||||
|
#elif defined(IRIVER_H10_5GB)
|
||||||
|
3600
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
||||||
const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
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 }
|
{ 3733, 3772, 3821, 3840, 3869, 3917, 3985, 4034, 4072, 4140, 4198 }
|
||||||
#elif defined IRIVER_H10_5GB
|
#elif defined(IRIVER_H10_5GB)
|
||||||
{ 3695, 3714, 3772, 3791, 3811, 3850, 3908, 3985, 4024, 4111, 4198 }
|
{ 3700, 3800, 3850, 3880, 3910, 3960, 4000, 4070, 4120, 4210, 4280 }
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
|
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
|
||||||
const unsigned short percent_to_volt_charge[11] =
|
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
|
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 */
|
/* 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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue