Skip to content

Commit 5f480c6

Browse files
committed
lower threshold for Apple 96W and TS4 98W chargers
1 parent 2275075 commit 5f480c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

zephyr/program/framework/lotus/src/cpu_power.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
216216
thermal_stt_table = 28;
217217
}
218218
}
219-
} else if (active_mpower >= 100000) {
219+
} else if (active_mpower >= 96000) {
220220
if (with_dc) {
221221
if (mode == EC_AC_BEST_PERFORMANCE) {
222222
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 85000;
@@ -250,7 +250,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
250250
thermal_stt_table = 30;
251251
}
252252
}
253-
} else if ((active_mpower < 100000) && (active_mpower > 0)) {
253+
} else if ((active_mpower < 96000) && (active_mpower > 0)) {
254254
if (with_dc) {
255255
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 60000;
256256
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPPT] = 60000;
@@ -289,7 +289,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
289289
power_limit[FUNCTION_SLIDER].mwatt[TYPE_FPPT];
290290
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_APU_ONLY_SPPT] = 0;
291291
thermal_stt_table = slider_stt_table;
292-
} else if (active_mpower >= 100000) {
292+
} else if (active_mpower >= 96000) {
293293
if (mode == EC_AC_BEST_PERFORMANCE) {
294294
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 45000;
295295
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPPT] = 54000;

0 commit comments

Comments
 (0)