From 1bd47de339399e140454adb5c9b7d9960842a916 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sat, 11 Jun 2016 15:39:43 +0100 Subject: zenxfi3: recalibrate battery curve Apparently I simply forgot to calibrate it when the port was done and the current values are just plain wrong, especially for the charging curve. Change-Id: Ied3cafa52f31f182f953714e28edc4c5e891255f --- firmware/target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/target') diff --git a/firmware/target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c b/firmware/target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c index 2951df5f58..e20893c0cd 100644 --- a/firmware/target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c +++ b/firmware/target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c @@ -34,13 +34,13 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = /* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = { - /* Toshiba Gigabeat S Li Ion 700mAH figured from discharge curve */ - { 3659, 3719, 3745, 3761, 3785, 3813, 3856, 3926, 3984, 4040, 4121 }, + /* figured from discharge curve */ + { 3631, 3697, 3762, 3784, 3805, 3838, 3902, 3961, 4016, 4091, 4178 }, }; /* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ const unsigned short percent_to_volt_charge[11] = { - /* Toshiba Gigabeat S Li Ion 700mAH figured from charge curve */ - 4028, 4063, 4087, 4111, 4135, 4156, 4173, 4185, 4194, 4202, 4208 + /* figured from charge curve */ + 3833, 3866, 3910, 3923, 3943, 3969, 4009, 4047, 4095, 4154, 4192 }; -- cgit v1.2.3