Closed MacBook Pro keeps turning external display on/off I hooked up my old 2012 retina MacBook Pro to an external 4k monitor via HDMI. It works fine while the lid is open, but as soon as I close it, various issues occur.


Monitor won't work or receive signal if I unplug MacBook from the charger (monitor has its own power supply).
Every now and then, monitor will shut/disconnect for a short while and come back online. I checked HDMI connection and everything seems to be fine (new monitor, new cable). What I did notice is that this flickering sometimes happens alongside charger light going off, which I think is related to point #1 above.


Does this sound like a bust charger that is going on and off for short periods of time, or something more serious with my MacBook?

Mac is set to never go to sleep be it on charge or battery, so I don't think this is an issue either.

This also seems to be unrelated to the option Slightly dim the display while on battery power. Just unchecked it, restarted and I am still getting the same issue.
Sounds like you already have the suspects identified (power supply being intermittent, faulty port, faulty dongle (if in use), faulty HDMI lead). If I were you, I'd start a process of elimination. Source another power supply (and/or extension cord, if in use), swap out the dongle/port/HDMI lead. Also, try a different refresh rate/resolution for the display and see if that makes as difference. I'm using an early 2015 MacBook Pro with an Acer UHD4K2K display via display port and the laptop closed. I've had problems with the display not waking at times.

Also, check your Magsafe port for debris. Could be dirty contacts making the charging intermittent.