After upgrading to MacOS Catalina (10.15.1) I have had troubles with the mac going to sleep mode when i close the lid while having external monitors connected. It used to be working like this:

What happens when the lid are closed?

  1. When no external monitor are connected: Go to sleep.
  2. When external monitor are connected: Display content on the external monitors.

Now it just goes into sleep mode no matter which setup is used.

Can you help getting the right configuration back?

  • Did you check whether you have enabled display driver or not from Security & Privacy -> Privacy -> Screen Recording
    – Udhy
    Nov 21, 2019 at 9:35
  • @Udhy It has an empty list. But can it be related?
    – 7heViking
    Nov 21, 2019 at 9:58
  • apple.stackexchange.com/a/18081/341892 - try this
    – Udhy
    Nov 21, 2019 at 10:33
  • @Udhy Okay, first step was to plug it into power... this solved the problem.
    – 7heViking
    Nov 21, 2019 at 10:48
  • Unbelievable. Go to the effort to type up some stuff that deals with sleep, and you haven't even been bothered to plug it in. Nov 21, 2019 at 11:12

1 Answer 1


pmset is the terminal command to display all things sleep on OSX. man pmset shows you how to use the binary, pmset -g shows you the current settings.

It is possible to restore pmset to defaults by using the following commands (whilst sleep setting defaults differ from Mac to Mac, but apparently Apple have usefully made the numerical value that refers to the various profiles relatively the same.)

sudo pmset -c 2 -b 1 -u 1; pmset -g

[Sudo will require your password]

This last command from here: Default settings for pmset -g?

Another suggestion is to reset PRAM and SMC:

How to reset PRAM

1.Shut down your computer

  1. Press the Power key
  2. Immediately press Command + Option + P + R keys
  3. Hold down the keys until your Mac reboots
  4. Let go of the keys

To reset SMC

  1. Turn off your Mac
  2. Hold down Control + Shift + Option and press power
  3. Hold the buttons for 10-15 sec
  4. Release the keys and restart your Mac
  • This does not answer the question at all...
    – User366
    Nov 21, 2019 at 16:07
  • No? I totally misunderstand what pmset does then. It governs all aspects of the system sleep. Nov 22, 2019 at 20:01
  • How does this help with external displays connected and mac not going to sleep? Could you explain, please?
    – User366
    Nov 23, 2019 at 4:35
  • There will be a setting within pmset that will disable sleep mode entirely. Nov 25, 2019 at 10:28

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .