2

I use my MacBook connected to an external monitor via HDMI with the lid closed, and plugged in to AC power (in closed clamshell mode). If I disconnect the power cord (usually happens accidentally), the external monitor will lose signal, USB devices become disconnected and I need to enter my password and unlock the screen. Is there any way to prevent my Mac from stopping HDMI input when the power is unplugged in closed clamshell mode?

I'm aware of NoSleep and InsomniaX, they work fine for preventing sleep when the lid is closed but they don't prevent screen lock when AC becomes unplugged (with closed clamshell mode).

1
+50

Just in case you weren't aware of these options, or haven't already tried this, you could change the Battery settings under Energy Saver.

Your question doesn't specify what version of macOS you're using, but here are some generic steps:

  • Go to System Preferences > Energy Saver
  • Select the Battery tab
  • Set Computer Sleep to Never
  • Set Display Sleep to Never
  • Set Graphics to Higher Performance
  • Make sure Slightly dim the display when using this power source is unchecked
  • Make sure Automatically reduce brightness before display goes to sleep is unchecked
  • Exit System Preferences

Let us know how you go.

  • This is about closed clamshell mode, which specifically only runs when the MB is plugged in to AC power. OP is looking for a crafty workaround rather than some messing around in Energy Saver settings which won't do the trick. See newly linked article in question. – owlswipe Nov 24 '16 at 19:01
  • Assuming you down voted me, I do appreciate you at least explaining why. :) Just for the record, I understood the computer was being used in clamshell mode, however I thought my suggestion may help because the OP was referring to a problem that only occurs when the AC is unplugged, at which point the only power source is the battery. Thanks for adding the link to the OP's question, as presumably many users won't know what this is. – Monomeeth Nov 24 '16 at 20:53
  • I downvoted this because Closed Clamshell mode specifically requires that the MacBook be plugged in (again I'll direct you to that link, you are welcome for adding it) and thus messing around in basic system preferences most certainly won't do it. IMHO, this is akin to me asking how to take a live photo on an iPhone 6 and you saying to go into the camera section of Settings and mess around with a couple things. This will need a hackier solution than the one you've provided (which I am almost certain won't work) and thus downvote. If I am wrong and this does help the OP, I will upvote. – owlswipe Nov 25 '16 at 4:16
  • Actually this worked. Setting "Turn display off after" to "Never" inside the Battery section does exactly what I need - not messing up everything if I accidentally nudge the power connector and it comes disconnected for even a split seccond. Thanks! – Rodrigo López Dato Nov 25 '16 at 17:39
  • 1
    @romanp Sorry to hear that, but thanks for sharing your experience. :) There's a lot I guess we're all still learning about how things will work with various adapters and displays, especially as we move more and more towards USB-C. I haven't come across any single resource that details the experience of different displays with different types of adapters and connections, but it'd certainly be handy! – Monomeeth Dec 12 '17 at 21:55

You must log in to answer this question.

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