diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 11:38:45 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-10-13 16:01:55 +0000 |
commit | e91f89a410dc4639dbe78f392c11b2a44ff9036a (patch) | |
tree | 4ebf78727d2a71508e420f54b0696e2749eef190 /firmware/target/hosted/xduoo | |
parent | f68463c53e1fe8c292dcb66098a1caf4c688e1d2 (diff) | |
download | rockbox-e91f89a410dc4639dbe78f392c11b2a44ff9036a.tar.gz rockbox-e91f89a410dc4639dbe78f392c11b2a44ff9036a.zip |
xduoox3ii: Update battery curve.
Change-Id: I2cc04d696631ba887fa8943d94360f902bf12e85
Diffstat (limited to 'firmware/target/hosted/xduoo')
-rw-r--r-- | firmware/target/hosted/xduoo/powermgmt-xduoo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/hosted/xduoo/powermgmt-xduoo.c b/firmware/target/hosted/xduoo/powermgmt-xduoo.c index 30001934ba..35d9e45ffc 100644 --- a/firmware/target/hosted/xduoo/powermgmt-xduoo.c +++ b/firmware/target/hosted/xduoo/powermgmt-xduoo.c | |||
@@ -23,7 +23,7 @@ | |||
23 | 23 | ||
24 | const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = | 24 | const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = |
25 | { | 25 | { |
26 | 3470 | 26 | 3443 /* 5% */ |
27 | }; | 27 | }; |
28 | 28 | ||
29 | /* the OF shuts down at this voltage */ | 29 | /* the OF shuts down at this voltage */ |
@@ -35,7 +35,7 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = | |||
35 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ | 35 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ |
36 | const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = | 36 | const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = |
37 | { | 37 | { |
38 | { 3400, 3639, 3697, 3723, 3757, 3786, 3836, 3906, 3980, 4050, 4159 } | 38 | { 3400, 3498, 3560, 3592, 3624, 3672, 3753, 3840, 3937, 4047, 4189 } |
39 | }; | 39 | }; |
40 | 40 | ||
41 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ | 41 | /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ |