Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
lower threshold for Apple 96W and TS4 98W chargers
  • Loading branch information
Terrails committed Aug 18, 2025
commit 93d5c4fe61e33ae7c2499212c6ffe15649233027
6 changes: 3 additions & 3 deletions zephyr/program/framework/lotus/src/cpu_power.c
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
thermal_stt_table = 28;
}
}
} else if (active_mpower >= 100000) {
} else if (active_mpower >= 96000) {
if (with_dc) {
if (mode == EC_AC_BEST_PERFORMANCE) {
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 85000;
Expand Down Expand Up @@ -250,7 +250,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
thermal_stt_table = 30;
}
}
} else if ((active_mpower < 100000) && (active_mpower > 0)) {
} else if ((active_mpower < 96000) && (active_mpower > 0)) {
if (with_dc) {
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 60000;
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPPT] = 60000;
Expand Down Expand Up @@ -289,7 +289,7 @@ static void update_thermal_power_limit(int battery_percent, int active_mpower,
power_limit[FUNCTION_SLIDER].mwatt[TYPE_FPPT];
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_APU_ONLY_SPPT] = 0;
thermal_stt_table = slider_stt_table;
} else if (active_mpower >= 100000) {
} else if (active_mpower >= 96000) {
if (mode == EC_AC_BEST_PERFORMANCE) {
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPL] = 45000;
power_limit[FUNCTION_THERMAL_PMF].mwatt[TYPE_SPPT] = 54000;
Expand Down