forked from mirror/smcFanControl
On Apple Silicon set the fan to Auto before sleeping. systemDidWakeFromSleep will set the previous selection on wake
This commit is contained in:
@ -101,6 +101,7 @@ static void powerSourceChanged(void * refCon)
|
||||
switch (messageType)
|
||||
{
|
||||
case kIOMessageSystemWillSleep:
|
||||
[_delegate systemWillSleep:self];
|
||||
IOAllowPowerChange(root_port, (long)messageArgument);
|
||||
break;
|
||||
case kIOMessageCanSystemSleep:
|
||||
|
||||
Reference in New Issue
Block a user