mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
[FixRed] YPR1
the YPR1 apparently can do voltage or percent measure I'm pretty sure its missing logic for disksafe and shutdown, perhaps the device takes care of it for you? hopefully someone with the device notices the issue (perhaps due to a older battery needing capacity tweaked) Change-Id: I79d3927fa8b154ba231aa6894de7920a4e4dd4c7
This commit is contained in:
parent
87ca944366
commit
a05bd377ab
1 changed files with 14 additions and 0 deletions
|
@ -72,6 +72,20 @@ unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
|||
{
|
||||
{ 3450, 3502, 3550, 3587, 3623, 3669, 3742, 3836, 3926, 4026, 4200 }
|
||||
};
|
||||
#else /* FIX ME what level should disksafe be?*/
|
||||
unsigned short battery_level_disksafe[BATTERY_TYPES_COUNT] =
|
||||
{
|
||||
};
|
||||
|
||||
/* the OF shuts down at this voltage */
|
||||
unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
||||
{
|
||||
};
|
||||
|
||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
||||
unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
||||
{
|
||||
};
|
||||
#endif
|
||||
|
||||
#if CONFIG_CHARGING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue