summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c b/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c
index 938d8ce14c..0f5dc4f4f7 100644
--- a/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c
+++ b/firmware/target/arm/philips/hdd6330/powermgmt-hdd6330.c
@@ -26,25 +26,25 @@
26 26
27const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = 27const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
28{ 28{
29 3550 29 3500
30}; 30};
31 31
32const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 32const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
33{ 33{
34 3500 34 3400
35}; 35};
36 36
37/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ 37/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
38const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = 38const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
39{ 39{
40 { 3480, 3550, 3590, 3610, 3630, 3650, 3700, 3760, 3800, 3910, 3990 }, 40 { 3400, 3550, 3630, 3690 ,3730, 3770, 3810, 3850, 3890, 3930, 3980 },
41}; 41};
42 42
43#if CONFIG_CHARGING 43#if CONFIG_CHARGING
44/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 44/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
45const unsigned short percent_to_volt_charge[11] = 45const unsigned short percent_to_volt_charge[11] =
46{ 46{
47 3480, 3550, 3590, 3610, 3630, 3650, 3700, 3760, 3800, 3910, 3990 47 3400, 3550, 3630, 3690 ,3730, 3770, 3810, 3850, 3890, 3930, 3980
48}; 48};
49#endif /* CONFIG_CHARGING */ 49#endif /* CONFIG_CHARGING */
50 50