Hold down the Fn key and power the laptop on, it will enter on-board diagnostics mode. After the tests finish, assuming it finds no hardware problems open the event log while in Diagnostics mode to see if it is shutting down due to overheating. If it is each event is date/time stamped.
I work Tech Support for TxDOT which has bought thousands of these POS...