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
Prev Previous commit
Apple's charger identifies itself as 94W
  • Loading branch information
Terrails committed Aug 18, 2025
commit b6ea31fbbd8db60ae0fa63a9a9171184e134a89f
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 >= 96000) {
} else if (active_mpower >= 94000) {
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 < 96000) && (active_mpower > 0)) {
} else if ((active_mpower < 94000) && (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 >= 96000) {
} else if (active_mpower >= 94000) {
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