mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 10:37:38 -04:00
xduoox3ii: Update battery curve.
Change-Id: I2cc04d696631ba887fa8943d94360f902bf12e85
This commit is contained in:
parent
f68463c53e
commit
e91f89a410
2 changed files with 6 additions and 4 deletions
|
@ -125,9 +125,11 @@
|
||||||
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
|
#define BATTERY_CAPACITY_MAX 2000 /* max. capacity selectable */
|
||||||
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
#define BATTERY_CAPACITY_INC 0 /* capacity increment */
|
||||||
|
|
||||||
|
#define CURRENT_NORMAL 167 // 2.78mA * 60s
|
||||||
|
#define CURRENT_BACKLIGHT 180
|
||||||
|
#define CURRENT_MAX_CHG 500 // bursts higher if needed
|
||||||
|
|
||||||
/* ROLO */
|
/* ROLO */
|
||||||
#define BOOTFILE_EXT "x3ii"
|
#define BOOTFILE_EXT "x3ii"
|
||||||
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
#define BOOTFILE "rockbox." BOOTFILE_EXT
|
||||||
#define BOOTDIR "/.rockbox"
|
#define BOOTDIR "/.rockbox"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
|
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
|
||||||
{
|
{
|
||||||
3470
|
3443 /* 5% */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* the OF shuts down at this voltage */
|
/* the OF shuts down at this voltage */
|
||||||
|
@ -35,7 +35,7 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
|
||||||
/* 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] =
|
||||||
{
|
{
|
||||||
{ 3400, 3639, 3697, 3723, 3757, 3786, 3836, 3906, 3980, 4050, 4159 }
|
{ 3400, 3498, 3560, 3592, 3624, 3672, 3753, 3840, 3937, 4047, 4189 }
|
||||||
};
|
};
|
||||||
|
|
||||||
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
|
/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue