File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 1616#include "printf.h"
1717#include "system.h"
1818#include "util.h"
19+ #include "power.h"
20+
1921
2022/* True if we're listening to the thermal control task. False if we're setting
2123 * things manually. */
@@ -592,6 +594,17 @@ static void pwm_fan_stop(void)
592594 *
593595 * Thermal control may be already disabled if DPTF is used.
594596 */
597+
598+ /*
599+ * Allow the fan to run in S0ix as we have unknown user reports
600+ * of systems getting warm in this state. Possibly due to windows
601+ * continuing to run CPU heavy tasks for value added features
602+ * causing excessive heat.
603+ */
604+ if (power_get_state () == POWER_S0ix ||
605+ power_get_state () == POWER_S0S0ix )
606+ return ;
607+
595608 pwm_fan_control (0 ); /* crosbug.com/p/8097 */
596609}
597610DECLARE_HOOK (HOOK_CHIPSET_SUSPEND , pwm_fan_stop , HOOK_PRIO_DEFAULT );
You can’t perform that action at this time.
0 commit comments