On your Mac, choose Apple menu > System Preferences, click Security & Privacy, then click General.
Click the lock icon to unlock it, then enter an administrator name and password.
Click Advanced. Select “Log out after... minutes of inactivity.” ...
Updated answer for Mojave and Catalina. You can prevent hibernation mode via this command:
sudo pmset -a standby 0
You can disable standby mode entirely, if you like. This isn’t
necessarily a good idea, as it means a portable MacBook will gradually
drain its ...
ISTR that there have been a few applications which have offered this as a minor, side, unsupported feature… but the only one I can recall/find now is Displays:
Just to be clear, here is how the developer describes this feature:
When at least two monitors are connected, you can disable any monitor
except the main monitor. WARNING: this is an experimental ...
So, basically, you want to be in closed clam shell mode but keep the lid open so you can hear the speakers better.
Unfortunately, there's no command that will disable a monitor.
Use a magnet to trigger the lid sensor
You didn't identify which MacBook Pro, but it's not really necessary. Simply slide a small magnet (a refrigerator magnet will suffice) around ...
I have the same experience with the latest MacBook Pro 13inch 2020 model, just delivered 2 weeks ago. I never turned on BT, and have also tried disabling the new battery management feature to no avail. The only thing left for me to try is to turn off WiFi before I shutdown.
Any help will be gladly appreciated.
I would recommend performing a re-install of macOS. This does not require that you delete your existing data and should be non-destructive. However, backups are always good to have.
Reboot into recovery mode (instructions are available on Apple's Website). Ensure that the installer shown in recovery mode is for Mojave (if not, then the system may be updated ...
See the power logs for the last 7 hours:
log show --last 7h --predicate 'subsystem == "powerd"'
Filter on DarkWake to see weird wakings:
log show --last 7h --predicate 'subsystem == "powerd"' | grep "DarkWake"
I add another important reason: macbook Pro will not hibernate if SSD start up disk is installed in the optibay (in those models that used to have one).
The "symptoms": MacBook just didn't hibernate, did not turn off automatically after autopoweroff minutes in pmset, nor turned off if scheduled. The consequence of this, a very important battery ...