summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-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 @@
23 23
24const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = 24const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
25{ 25{
26 3659 26 3300
27}; 27};
28 28
29const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 29const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
30{ 30{
31 3630 31 3100
32}; 32};
33 33
34/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ 34/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
35const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = 35const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
36{ 36{
37 /* Toshiba Gigabeat S Li Ion 700mAH figured from discharge curve */ 37 /* Sansa Fuze+ Li Ion 600mAH figured from discharge curve */
38 { 3659, 3719, 3745, 3761, 3785, 3813, 3856, 3926, 3984, 4040, 4121 }, 38 { 3100, 3650, 3720, 3750, 3780, 3820, 3880, 4000, 4040, 4125, 4230 },
39}; 39};
40 40
41/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 41/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
42const unsigned short percent_to_volt_charge[11] = 42const unsigned short percent_to_volt_charge[11] =
43{ 43{
44 /* Toshiba Gigabeat S Li Ion 700mAH figured from charge curve */ 44 /* Sansa Fuze+ Li Ion 600mAH figured from charge curve */
45 4028, 4063, 4087, 4111, 4135, 4156, 4173, 4185, 4194, 4202, 4208 45 3480, 3790, 3845, 3880, 3900, 3935, 4005, 4070, 4150, 4250, 4335
46}; 46};