On Apple Silicon set the fan to Auto before sleeping. systemDidWakeFromSleep will set the previous selection on wake

This commit is contained in:
Raafat Akkad
2022-04-07 23:24:39 +01:00
parent 618c22ea89
commit 53b337f15f
6 changed files with 41 additions and 16 deletions

View File

@ -58,6 +58,8 @@
//delegate Prototypes
@interface NSObject (PowerDelegate)
- (void)systemWillSleep:(id)sender;
- (void)systemDidWakeFromSleep:(id)sender;
- (void)powerChangeToBattery:(id)sender;