summaryrefslogtreecommitdiff
path: root/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c')
-rw-r--r--firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c b/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
index b88ac16d55..ace66295f8 100644
--- a/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
+++ b/firmware/target/arm/s5l8702/ipod6g/powermgmt-ipod6g.c
@@ -27,25 +27,25 @@
27 27
28const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = 28const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
29{ 29{
30 3600 30 3500
31}; 31};
32 32
33const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 33const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
34{ 34{
35 3350 35 3300
36}; 36};
37 37
38/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ 38/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
39const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = 39const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
40{ 40{
41 { 3600, 3730, 3780, 3810, 3840, 3880, 3930, 3990, 4080, 4170, 4270 } 41 { 3500, 3670, 3720, 3750, 3770, 3800, 3860, 3920, 3980, 4070, 4170 }
42}; 42};
43 43
44#if CONFIG_CHARGING 44#if CONFIG_CHARGING
45/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 45/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
46const unsigned short percent_to_volt_charge[11] = 46const unsigned short percent_to_volt_charge[11] =
47{ 47{
48 3800, 3900, 3990, 4070, 4140, 4200, 4250, 4290, 4320, 4340, 4350 48 3700, 3820, 3900, 3950, 3990, 4030, 4070, 4120, 4170, 4190, 4200
49}; 49};
50#endif /* CONFIG_CHARGING */ 50#endif /* CONFIG_CHARGING */
51 51