Invoke `WriteCurrentPwmToFans` in thermal cycles Google-Bug-Id:545704112 PiperOrigin-RevId: 970028762 Change-Id: Icf9db2b86e8f44eb94053b34ebc2cb236a522734
diff --git a/tlbmc/collector/thermal_collector.cc b/tlbmc/collector/thermal_collector.cc index 3a9ed92..c6d6c32 100644 --- a/tlbmc/collector/thermal_collector.cc +++ b/tlbmc/collector/thermal_collector.cc
@@ -1329,9 +1329,10 @@ ApplyPendingTuningRequests(zone_manager->GetId()); } - // Under manual mode, simply trigger the next thermal control iteration, - // and then return, without executing the thermal and fan cycles. + // Under manual mode, perform no thermal loop iterations. if (zone_manager->GetManualMode()) { + // Write cached PWM to fans to avoid triggering hardware failsafe. + zone_manager->WriteCurrentPwmToFans(); ProcessThermalControl(zone_manager, timer, /*first_run=*/false, ms_elapsed_in_current_cycle); return;