mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Remove BATTERY_TYPES
Change-Id: I4fa03a10d0032fd6f92722bbe1d4b7eec0b95cb4
This commit is contained in:
parent
fb115e5bdb
commit
4f3bbeaffc
175 changed files with 432 additions and 951 deletions
|
|
@ -37,21 +37,15 @@ static bool first_readout = true;
|
|||
static int power_status = CHARGER_NOT_CONNECTED;
|
||||
static int charging_status = BATT_NOT_CHARGING;
|
||||
|
||||
unsigned short battery_level_disksafe[BATTERY_TYPES_COUNT] =
|
||||
{
|
||||
3470
|
||||
};
|
||||
unsigned short battery_level_disksafe = 3470;
|
||||
|
||||
/* the OF shuts down at this voltage */
|
||||
unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
||||
{
|
||||
3450
|
||||
};
|
||||
unsigned short battery_level_shutoff = 3450;
|
||||
|
||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
|
||||
unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
|
||||
unsigned short percent_to_volt_discharge[11] =
|
||||
{
|
||||
{ 3450, 3502, 3550, 3587, 3623, 3669, 3742, 3836, 3926, 4026, 4200 }
|
||||
3450, 3502, 3550, 3587, 3623, 3669, 3742, 3836, 3926, 4026, 4200
|
||||
};
|
||||
|
||||
#if CONFIG_CHARGING
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue