Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

macOS Sierra - hold down power button to enter sleep mode

I recently updated my MacBook Air (13-inch, Early 2015) model from El Capitan to macOS Sierra v10.12. Before the update, holding down power button for 2 to 3 seconds put the machine in to sleep mode. It doesn't work properly after the update. Holding down power button to enter sleep mode works only once after every start of the machine.


I know there is an option to enter sleep mode using Ctrl + Power button and then selecting one of the three options from Restart, Sleep and Shutdown, but that needs 3 more clicks and taps and is not quick. Also, irrespective of any app that is open, pressing power button worked well before the update, but now I need to be on the desktop to even make Ctrl + Power button work.


Any fixes available to this? I am missing the old way of putting my Mac to sleep 😟 I don't remember whether I did some tweak in my Mac or was it a default functionality..

MacBook Air, macOS Sierra (10.12)

Posted on Sep 23, 2016 1:28 AM

Reply
101 replies

Dec 11, 2016 3:05 AM in response to jainam2209

Hi all,

I have the very same problem with my MBP Retina 13" so a couple of days ago I started playing a little bit with the settings, specifically with PowerButtonSleepsSystem, a key which was available in the past MacOS (aka OSX) versions to configure the behaviour of the Power Button.

What I found is that, in Sierra, if the key merely exists, it messes up everything in the sense that the button doesn't lead to sleep anymore and the confirmation dialog appears all the times, regardless the boolean value it has.

I removed it and "magically" the expected behaviour is back, now the MBP sleeps when I push the button and I get the dialog when I hold it. It has been working for several hours till now, not sure it means it will work forever, I will keep on checking.


To verify if the key exists, from the Terminal prompt:

defaults read com.apple.loginwindow PowerButtonSleepsSystem


To remove the key:

defaults delete com.apple.loginwindow PowerButtonSleepsSystem

macOS Sierra - hold down power button to enter sleep mode

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