Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

stanman64

macrumors 6502a
Original poster
Jul 9, 2010
793
873
Are the hot corner action "Put Display to Sleep" and the Apple Menu shortcut "Sleep" separate functions?

I understood "Put display to Sleep" as it would shut off the screen and keyboard backlights to conserve energy, but not put the actual CPU into sleep. However whenever I use "Put Display to Sleep," I am prompted to enter my passphrase upon waking my Mac, as if it had gone to sleep.

Is this how it is supposed to be? It would be much better if they were separate...
 

Nermal

Moderator
Staff member
Dec 7, 2002
21,010
4,590
New Zealand
Bizarrely, newer machines will, by default, go into full sleep a few seconds after going into display sleep (cutting off network connections and other nasty things). There is also an option in Energy Saver called "Present computer from sleeping automatically when the display is off" which may help. Failing that, it should be possible to configure it by using the pmset terminal command, but I'm not sure of the exact syntax required.

(Edited for clarification and to match latest version of OS X).
 
Last edited:

stanman64

macrumors 6502a
Original poster
Jul 9, 2010
793
873
Bizarrely, newer machines will go into full sleep a few seconds after going into display sleep (cutting off network connections and other nasty things). It should be possible to change this by using the pmset terminal command, but I'm not sure of the exact syntax required.

Bummer. That seems odd. Hopefully someone else can provide the command line. I'll do some deeper Googling tomorrow to see if I can find it somewhere. Thanks for the reply!
 

jgelin

macrumors 6502a
Jul 30, 2015
905
1,073
St Petersburg, FL
Bummer. That seems odd. Hopefully someone else can provide the command line. I'll do some deeper Googling tomorrow to see if I can find it somewhere. Thanks for the reply!
Here is some more reading on the differences between sleep, display sleep, and their functions.
https://support.apple.com/en-us/HT201714
Also the newer laptops which were made in 2013 have a deep sleep feature which can retain 99% battery power for 30 days.
 

stanman64

macrumors 6502a
Original poster
Jul 9, 2010
793
873
Here is some more reading on the differences between sleep, display sleep, and their functions.
https://support.apple.com/en-us/HT201714
Also the newer laptops which were made in 2013 have a deep sleep feature which can retain 99% battery power for 30 days.

Thank you for the link, but unfortunately it doesn't address the problem I am having. Apple's own website seems to be out of date, showing (and describing steps of) a screenshot of Mountain Lion settings, since which have changed. No longer is there dual sliders to separately adjust display sleep time and full computer sleep time.
 

adrianlondon

macrumors 603
Nov 28, 2013
5,536
8,361
Switzerland
In preferences, tick "Prevent computer from sleeping automatically when the display is off". You can now turn off the display without the laptop sleeping.

Closing the lid still causes the laptop to sleep, which is what I want.
 

bent christian

Suspended
Nov 5, 2015
509
1,966
Bizarrely, newer machines will go into full sleep a few seconds after going into display sleep (cutting off network connections and other nasty things).

No, they don't if you have your power settings configured to prevent sleep.

Also, you don't need to waste a hot corner to put the display to sleep. A keyboard shortcut exists by default: control-shift-eject (or power button if you do not have eject)
 

Partron22

macrumors 68030
Apr 13, 2011
2,655
808
Yes
For those who use non-Apple keyboards, a little AppleScript service can do the job:
Code:
do shell script "pmset displaysleepnow"
Assign it to whatever key combo you want in keyboard prefs.
 

Nermal

Moderator
Staff member
Dec 7, 2002
21,010
4,590
New Zealand
No, they don't if you have your power settings configured to prevent sleep.
Correct, but I meant by default (and will edit my post to clarify this). While my previous machine had two sliders in Energy Saver (one for display sleep and one for system sleep), my 2015 MBP only has a single slider, plus a box for "Prevent computer from sleeping automatically when the display is off". Despite that, I've had to use pmset in the past for some reason (that may have been under 10.10 - do you know whether the "prevent sleeping" box was present in 10.10?)
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,740
Correct, but I meant by default (and will edit my post to clarify this). While my previous machine had two sliders in Energy Saver
I think its because the current chipsets from Intel go into low power mode on their own and so a full sleep setting in OS X is not needed.

Basically, we have less choice because of the advances in power consumption at the chip level. That's my opinion based on various stuff I read when I was searching around on why there was only one slider on my new iMac
 

stanman64

macrumors 6502a
Original poster
Jul 9, 2010
793
873
In preferences, tick "Prevent computer from sleeping automatically when the display is off". You can now turn off the display without the laptop sleeping.

Closing the lid still causes the laptop to sleep, which is what I want.

This option is only available under "When Connected to Power Source" for portable Macs.
[doublepost=1453985986][/doublepost]
Check your security and privacy in preferences. Is require password checked?

Yes, I do have a password set up through Security & Privacy, but there is no option under Energy Saver preferences that allows me to toggle requiring a password.
[doublepost=1453986098][/doublepost]
No, they don't if you have your power settings configured to prevent sleep.

Also, you don't need to waste a hot corner to put the display to sleep. A keyboard shortcut exists by default: control-shift-eject (or power button if you do not have eject)

I find the hot corner more convenient, but that's just personal preference. Either way, I am still prompted to enter my passphrase upon wake.
[doublepost=1453986301][/doublepost]
I think its because the current chipsets from Intel go into low power mode on their own and so a full sleep setting in OS X is not needed.

Basically, we have less choice because of the advances in power consumption at the chip level. That's my opinion based on various stuff I read when I was searching around on why there was only one slider on my new iMac

This could be the culprit. I used to be able to use a hot corner to put the display into sleep, but leave the system running on my '12 MBP. It would not prompt me for my system passphrase when I "woke" the screen back up. However, Menu > Sleep would put the whole system into sleep and lock my MBP. This is what I want. Something definitely changed though.
 

RadioGaGa1984

Suspended
May 23, 2015
1,279
1,447
Yes, I do have a password set up through Security & Privacy, but there is no option under Energy Saver preferences that allows me to toggle requiring a password.

That is why it's asking for the password when you wake it back up. There is no option is energy saver only in security and privacy.
 

stanman64

macrumors 6502a
Original poster
Jul 9, 2010
793
873
That is why it's asking for the password when you wake it back up. There is no option is energy saver only in security and privacy.

The password is supposed to be for when you are powering up/logging in/waking from sleep, not for just when you want to turn the display off. So if I just put my display to sleep, the system should stay active and not lock me out. At least that is how it used to be.
 

RadioGaGa1984

Suspended
May 23, 2015
1,279
1,447
The password is supposed to be for when you are powering up/logging in/waking from sleep, not for just when you want to turn the display off. So if I just put my display to sleep, the system should stay active and not lock me out. At least that is how it used to be.

Yea that's not how it's been working if I have the password on it will ask for it when waking from display sleep and system sleep.
 
  • Like
Reactions: stanman64

Nermal

Moderator
Staff member
Dec 7, 2002
21,010
4,590
New Zealand
This option is only available under "When Connected to Power Source" for portable Macs.
Aha! That would explain why I've had to use pmset to get everything working in the past. I think "sudo pmset -a sleep 0" is the command that I've used, although that will stop the system from ever sleeping (rather than only applying to hot corners).
 
  • Like
Reactions: stanman64

stanman64

macrumors 6502a
Original poster
Jul 9, 2010
793
873
Yea that's not how it's been working if I have the password on it will ask for it when waking from display sleep and system sleep.

Maybe Apple will fix/bring back this feature in a future update! One can only hope...
[doublepost=1454008353][/doublepost]
Aha! That would explain why I've had to use pmset to get everything working in the past. I think "sudo pmset -a sleep 0" is the command that I've used, although that will stop the system from ever sleeping (rather than only applying to hot corners).

Must be! I'll have to pass on the never sleep terminal command though. I'd prefer not to have my bag catch fire..
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.