Use the power adapter without battery first so you can rule out the problem with the battery.
I doubt it is the battery but you can try.
Disable auto restart on system failure first to see if there's any blue screen.
How To Disable the Automatic Restart on System Failure in Windows 7