Macbook Pro Early 2015 keeps restarting randomly
A little bit of background: In September of this year my Macbook Pro started to restart itself all the time and I suspected that poor condition battery might be the issue. I replaced the battery in an Official Apple Store and afterward, everything worked fine for 2-3 months until the issue started again.
I’m living on an island in Thailand so it’s not so easy to reach an Apple Store to check the laptop so I took it to a friend who repairs laptops and we opened it, we cleaned the dust inside and removed the speakers because they were damaged (horrible sound). This didn’t help so I’ve reinstalled MacOS from scratch but the issue kept happening.
After a few days, the issue slowly disappeared with no possible explanation.
Yesterday the issue started again and this is what happened before and what is happening now:
In the beginning is just 1 or 2 restarts a day. Then it became insane by restarting every 1 to 5 minutes (randomly).
Sometimes it won’t show a login screen for more than just a few seconds and keeps restarting in an endless loop.
Sometimes I’m able to use it for an hour and then restarts again, even without running any software, just showing the Desktop.
I’ve tried resetting NVRAM, PRAM, SMC with any affection on the issue.
What blew my mind was that the “Previous shutdown cause” log always showed code 5 which is “Correct shut down”.
Executed code:
log show --predicate 'eventMessage contains "Previous shutdown cause"' --last 24h
The last thing that I’ve tried was disconnecting the battery and using it with the charger on but keeps restarting.
Any ideas? So far I’m not able to reproduce or isolate the issue so I’m not sure about the root cause.
MacBook Pro 13″, macOS 11.1