Hibernation not working in Monterey when Mac goes to sleep by itselfs

I have been trying to get my Mac to hibernate, so that it writes down the memory onto the SSD shortly after going into sleep mode and turns off the memory. I have managed to get this working when pressing the sleep button from the apple-menu or closing the lid of the Macbook. However it does not work when I just let the Mac sit and wait for it to go into sleep mode by itself.


In the terminal I used those lines:

sudo pmset -a DestroyFVKeyOnStandby 1 
sudo pmset -a hibernatemode 25
sudo pmset -a standbydelaylow 5
sudo pmset -a standbydelayhigh 5

I set it to hibernate mode 25, where in standby mode the memory is only saved on the SSD, not kept in the memory. DestroyFVKeyOnStandby makes the Mac destroy/forget the FileVault key after entering standby mode. Standbydelaylow and standbydelayhigh I set to 5 seconds, so that 5 seconds after entering sleep mode the Mac should go into standby mode (with battery above 50% (low) as well as below 50% (high))


When I just let it sit and wait, after 2 min the screensaver gets turned on and after 4 min the display turns off (battery setting in preferences). But my Mac seems to never enter standby mode or hibernation mode after that and when I wake the Mac by pressing a button it instantly turns on. Unlike when I select sleep from the apple-menu or close the lid where it first kind-of boots up with the apple logo on screen.


I checked activity monitor and there are no apps that are preventing sleep.


I can post the overview of "sudo pmset -g" but I left all other settings on default (of course I tried changing some settings to get it to work but I always reverted to the default settings when it didn't improve the situation).

MacBook Pro 13″, macOS 12.6

Posted on Oct 28, 2022 3:32 AM

Reply

Similar questions

There are no replies.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Hibernation not working in Monterey when Mac goes to sleep by itselfs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.