Skip to content

Commit ea1fafb

Browse files
committed
lower threshold for Apple 96W and TS4 98W chargers
1 parent b4c1fb8 commit ea1fafb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
201201
thermal_stt_table = 28;
202202
}
203203
}
204-
} else if (active_mpower >= 100000) {
204+
} else if (active_mpower >= 96000) {
205205
if (with_dc) {
206206
if (mode == EC_AC_BEST_PERFORMANCE) {
207207
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 85000;
@@ -235,7 +235,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
235235
thermal_stt_table = 30;
236236
}
237237
}
238-
} else if ((active_mpower < 100000) && (active_mpower > 0)) {
238+
} else if ((active_mpower < 96000) && (active_mpower > 0)) {
239239
if (with_dc) {
240240
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 60000;
241241
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPPT] = 60000;
@@ -274,7 +274,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
274274
power_limit[FUNCTION_SLIDER].mwatt[TYPE_FPPT];
275275
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_APU_ONLY_SPPT] = 0;
276276
thermal_stt_table = slider_stt_table;
277-
} else if (active_mpower >= 100000) {
277+
} else if (active_mpower >= 96000) {
278278
if (mode == EC_AC_BEST_PERFORMANCE) {
279279
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 45000;
280280
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPPT] = 54000;

0 commit comments

Comments
 (0)