|... as laptop starts up tap the F8 key which leads you to an option screen.|
... select "Safe Mode"
... when in Safe Mode,... WAIT a while to see if it stays on!
... If it stays on continue to a restore point the Pop-up is prompting you to do.
... select a restore point date altering the calender as to when the laptop was working fine.
... If the laptop turned off while waiting it could be a duff battery OR if you have mains adapter plugged in [recommended] it'll be more than likely a cracked solder joint were the adapter pops in.
"...pentathol makes you sing like a canary"
... got brain freeze