



This is very similar to the hibernate feature available for Windows PC and would result in USB power being off. You can reconfigure your MacBook to go into a different safe sleep mode when you close the lid, as opposed to normal sleep. If your Apple computer or display is powered off, no power will be provided.Ī work around for this is changing what your Mac Does when you close the lid. How to set the value: sudo pmset -a hibernatemode 3Īccording to Apple Computers and Displays: Powering peripherals through USB the only way to turn off power to the USB ports is to turn off the Mac, power will remain while the Mac is sleeping. The default settings would keep the backlights on - which can be quite annoying.īoot time (64Gb RAM) with "hibernatemode = 3" is very fast, "hibernatemode = 25" only a fraction slower. On my MacPro (2013 model) both values 3 and 25 will power down the backlight of my (non-Apple) mouse (Logitech) and keyboard (Havit). If you want "hibernation" - slower sleeps, slower wakes, and better battery life, you should use this setting. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. Hibernatemode = 25 is only settable via pmset.

The system will wake from memory, unless a power loss forces it to restore from hibernate image. The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system must wake from the contents of memory the system will lose context on power loss. The system will not back memory up to persistent storage. The variable hibernatemode supports values of 0, 3, or 25. On your Mac model / macOS version, type "man pmset" in Terminal to see what the values are for your Mac - seems not all models and/or macOS versions adhere to the same numbering scheme. It appeared however that pretty much only the values 0, 3 and 25 (!) are valid for my Mac Pro. It took quite a bit of searching, until I found this post at which pointed me in the right direction. So, being the proud owner of a 12 core Mac Pro (2013 model), I ran into the problem that the backlights of my keyboard ( Havit - highly recommend their low profile mechanical keyboard) and mouse (Logitech) remained on during sleep mode.
