Native power management (Proper sleep wake) - fidele007/Asus-ROG-GL552VW-Hackintosh GitHub Wiki
This is a dumb down version of the more extensive guide on native power management for laptops.
First of all, make sure that you have brightness working correctly.
Hibernation does not work on Hackintosh, so disable it:
sudo pmset -a hibernatemode 0
sudo rm /var/vm/sleepimage
sudo mkdir /var/vm/sleepimageDisable other hibernation related options:
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0Enable PluginType in config.plist
<key>SSDT</key>
<dict>
<key>DropOem</key>
<false/>
<key>Generate</key>
<dict>
<key>PluginType</key>
<true/>
</dict>
<key>PluginType</key>
<integer>1</integer>
</dict>Disable/delete all other forms of CPU power management
- SSDT.aml
- SSDT-XCPM.aml
- SSDT-PluginType1.aml
as well as any related kexts:
- NullCPUPowerManagement.kext
Finally, you can check if power management is working correctly by:
- Checking visually with Intel® Power Gadget
- Verify with IORegistryExplorer that
X86PlatformPluginis loading under the CPU0 node - Using
AppleIntelInfo.kextto check that CPU and IGPU P-States are correctly generated (Reference)
Additional note: I also noticed that sleep/week only works properly if the optimus NVIDIA is completely disabled. You can verify this in the System Report - Hardware - Graphics/Displays.