MacBook Pro turns off after a couple of seconds
I've got an early 2015 13" MacBook Pro. Absolutely no water damage, drops etc
A couple of days ago it started turning itself off within a couple of seconds of me turning it on. This problem seems to be quite widespread but I could not find a solution to the problem anywhere.
Mac turns off within seconds(3-6). If any key is pressed and held the computer acts normally. Key can be released for a couple of seconds - afterwards any other key has to be pressed and held or the computer acts as if the power button was pressed for a couple of seconds and shuts down.
Longer, rambling version:
After troubleshooting it for what seems like years I've found out that:
-If I press and hold ANY button immediately after pressing the power button the computer doesn't turn itself off - it let's me log in etc
-If I let go of the button I was holding BEFORE I'm logged in the computer turns itself off as If I pressed the power button for a couple of seconds
-If I let go of the button I was holding AFTER I'm logged in I get the standard prompt -"Are you sure you want to shut down your computer now?" If I press and hold any button again, I can just click Cancel and the computer doesn't switch off
-I can let go of the button I'm holding and substitute it for an different button
-Funnily enough if I press and hold the power button at start-up I can use the computer normally. If I try to press and hold it later it turns my computer off as it should.
So yeah, that's what I've found - hopefully it will help someone with the same problem.
Any ideas as to what I could try? The laptop is still under warranty so if I fail to resolve the issue by Monday I'm having it repaired but I would really prefer not to lose my workplace for 3-5 working days.
Is this a good question?