summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2018-04-20 20:14:14 +0100
committerMichael Giacomelli <giac2000@hotmail.com>2018-04-20 20:14:46 +0100
commit56803c80d0554a8b01598a077a69143b14f7036f (patch)
tree5368aa37f7de3f258243b318e22c6ec5e7511a69
parent22823e2f78bb566bc9e138d3b14b20d03def77f3 (diff)
downloadrockbox-56803c80d0554a8b01598a077a69143b14f7036f.tar.gz
rockbox-56803c80d0554a8b01598a077a69143b14f7036f.zip
Add battery calibration for Sony NWZ A10.
-rw-r--r--firmware/target/hosted/sonynwz/powermgmt-nwz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sonynwz/powermgmt-nwz.c b/firmware/target/hosted/sonynwz/powermgmt-nwz.c
index ce5f251570..2e88f204bd 100644
--- a/firmware/target/hosted/sonynwz/powermgmt-nwz.c
+++ b/firmware/target/hosted/sonynwz/powermgmt-nwz.c
@@ -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 */
36const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = 36const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
37{ 37{
38 { 3450, 3502, 3550, 3587, 3623, 3669, 3742, 3836, 3926, 4026, 4200 } 38 { 3450, 3698, 3746, 3781, 3792, 3827, 3882, 3934, 3994, 4060, 4180 }
39}; 39};
40 40
41/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 41/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */