MacBook Pro turn off when unplugged an external monitor


My mac only works when I connect an external HDMI monitor and this monitor is turned on. When I turn off the monitor or unplug the HDMI cable, my mac after a minute starts heating up and its fans make noise. Then the mac shuts down. It happens with the battery or the connected power source.


I have done a complete maintenance and cleaning. I've changed the thermal paste, cleaned the fans, even bought a new battery, just reset my mac and still have the same problem.


Any idea what could be going on?

MacBook Pro 15″, macOS 11.7

Posted on Jun 7, 2023 7:35 AM

Reply
4 replies

Jun 7, 2023 9:54 AM in response to intijosue

Since there is a shutdown / restart, Checking the log for the shutdown cause should help to troubleshoot.

Below command in terminal should help to get the reason.


log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h


"24h" is the duration, adjust to your approximate time when this occurred.


Also, check Activity Monitor to see the max CPU/RAM usage when you disconnect/unplug HDMI cable.


Have you checked if this occurs in safe mode too?

Start up your Mac in safe mode - Apple Support


Jul 22, 2023 3:03 AM in response to intijosue

See: https://eclecticlight.co/2017/02/28/mac-shutdown-and-sleep-cause-codes/

some of the known codes for the shutdown cause.


" -128 unknown, possibly battery is at the end of its life, but can also occur when the SMC initiates an automatic restart following a kernel panic."


Since you mentioned you brought new battery, did you had this problem with original battery that your MacBookPro came with?

Also, what is the MBP model?


Suggest you to Use Apple Diagnostics to test your Mac - Apple Support and visit/get it checked with Apple Support/Service. {Mac Repair & Service - Apple Support}

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

MacBook Pro turn off when unplugged an external monitor

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