summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/imx233/sony-nwz/powermgmt-nwze360.c8
-rw-r--r--firmware/target/arm/imx233/sony-nwz/powermgmt-nwze370.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze360.c b/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze360.c
index fd395e30ca..8d9cecc4f3 100644
--- a/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze360.c
+++ b/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze360.c
@@ -23,7 +23,7 @@
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 3660
27}; 27};
28 28
29const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 29const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
@@ -34,13 +34,13 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
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 /* figured from discharge curve */
38 { 3659, 3719, 3745, 3761, 3785, 3813, 3856, 3926, 3984, 4040, 4121 }, 38 { 3630, 3720, 3770, 3800, 3816, 3845, 3888, 3950, 4010, 4070, 4150 },
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 /* TODO */
45 4028, 4063, 4087, 4111, 4135, 4156, 4173, 4185, 4194, 4202, 4208 45 4028, 4063, 4087, 4111, 4135, 4156, 4173, 4185, 4194, 4202, 4208
46}; 46};
diff --git a/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze370.c b/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze370.c
index fd395e30ca..f7ff147cb1 100644
--- a/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze370.c
+++ b/firmware/target/arm/imx233/sony-nwz/powermgmt-nwze370.c
@@ -23,7 +23,7 @@
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 3660
27}; 27};
28 28
29const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 29const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
@@ -34,13 +34,13 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
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 /* figured from discharge curve */
38 { 3659, 3719, 3745, 3761, 3785, 3813, 3856, 3926, 3984, 4040, 4121 }, 38 { 3630, 3700, 3745, 3775, 3800, 3830, 3880, 3940, 4000, 4070, 4140 },
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 /* TODO */
45 4028, 4063, 4087, 4111, 4135, 4156, 4173, 4185, 4194, 4202, 4208 45 4028, 4063, 4087, 4111, 4135, 4156, 4173, 4185, 4194, 4202, 4208
46}; 46};