Laptop shuts off unexpectedly
First, my laptop is a Samsung Ativ Book 8 (NP880Z5E), not an Ativ Book 9. The book 8 wasn't an option in the model list.
A little background info: I've owned this laptop for about 3 years now. A few months ago, the female charging socket on the laptop started to loose connection with the male charging cable, and required a lot of baby sitting the charger to ensure it would stay charged. Yesterday I replaced the charging socket with a brand new one. Install went smoothly, and wasn't too complicated.
After replacing the charging socket, the PC charged up fine, and booted up without issue. Once up and running, I connected to the internet, and briefly browsed the internet and started watching some videos on youtube. After roughly 30-45 min, the PC just shut off. (Not started to shut down, just when black as if I was holding down the power button.) About 30 min later, I tried to boot back up, and was able to login and continue watching some youtube videos. Again, about 30 min later, it shut off again without warning.
I'm thinking this could be a cooling issue, and have placed the back of my hand on the usual warm spots on the exterior of the laptop; not noticing anything hotter than normal. Short of checking the processor temp as its running, I'm lost.
Anyone have any ideas, or happen to run into this in the past? Any help is greatly appreciated.
*****UPDATE as of 1/4/2018******
I have looked up my cpu's maximum operating temp and checked each cores temp while running, as well as checked/ cleaned my cooling fans. The fans are running at good speed like they should, and the internal core temps are well below maximum. So this doesn't seem to be the issue.
Samsung support recommended that I run a battery diagnostics test from the boot menu, however, the laptop wont stay on long enough to run it. Every time I tried to run the test, the laptop would completely shut off before I could even start the test. However, I'm not completely convinced the battery is the problem, because it charges all the way to 100% when hooked up, and seems to hold the charge like normal. (Unless there's something I'm un aware of.)