diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2016-06-11 15:39:43 +0100 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2016-06-12 18:38:38 +0100 |
commit | 1bd47de339399e140454adb5c9b7d9960842a916 (patch) | |
tree | 3f09b25bfb8cf77720d4b1a72bb161702d2f7c1e /firmware | |
parent | 489044d1ca9314c79a50768565f4c36a6c4cfc06 (diff) |
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
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/imx233/creative-zenxfi3/powermgmt-zenxfi3.c | 8 |
1 files changed, 4 insertions, 4 deletions
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 }; |