summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2012-08-30 20:40:13 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2012-08-30 20:40:13 +0200
commit6c2190ea04f5031b2b7e439318b76eb9bdc65fd8 (patch)
tree4f3d1652b42fac42f3b0e6af2e544622606dca3f
parent7ff78c4ccb4d4715778a2f7cea0fd9555f0d6eab (diff)
downloadrockbox-6c2190ea04f5031b2b7e439318b76eb9bdc65fd8.tar.gz
rockbox-6c2190ea04f5031b2b7e439318b76eb9bdc65fd8.zip
fuze+: battery calibration
Change-Id: Iaaca5caa35b9624d8dd9ea14eabde24c5667e892
-rw-r--r--firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c b/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c
index 3e068f007d..561b7ffdd7 100644
--- a/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c
+++ b/firmware/target/arm/imx233/sansa-fuzeplus/powermgmt-fuzeplus.c
@@ -23,24 +23,24 @@
const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
{
- 3659
+ 3300
};
const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
{
- 3630
+ 3100
};
/* 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 },
+ /* Sansa Fuze+ Li Ion 600mAH figured from discharge curve */
+ { 3100, 3650, 3720, 3750, 3780, 3820, 3880, 4000, 4040, 4125, 4230 },
};
/* 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
+ /* Sansa Fuze+ Li Ion 600mAH figured from charge curve */
+ 3480, 3790, 3845, 3880, 3900, 3935, 4005, 4070, 4150, 4250, 4335
};