PC shutting down on its own

Closed
shatter - Updated on Oct 21, 2017 at 11:22 AM
Hello,

my pc's been shutting down on its own for a while. It can't be because of overheating cause sometimes it does it when I'm only using a browser, when I'm not doing anything that could cause overheating. once I was a few meters away from it, with only chrome open and then I saw it shutting down on its own.

What could cause this? it's very frustrating bc sometimes it does it when I'm mid gaming and sometimes when I'm just doing homework.