My pc has been randomly shutting down for the last several days. No error codes or anything. Sometimes it will stay on for 10 minutes, other times 2. When it powers off it waits a couple seconds and tries to reboot. Generally if I let it try to reboot itself it goes into a boot loop and just keeps powering down and retrying. If i kill the power for a minute then restart it will load os and then a few minutes later....blam...same issue. This is a dual booted system and it does it with both windows and linux, plus I've booted from a clean ubuntu flash drive and it still does it so I'm pretty sure I've ruled out a software issue (pretty sure?). There have been no recent changes to hardware. Currently running a 9th gen I5 with upgraded air cooler, r 580 gpu, evga 850 gold rated psu, on an Asus prime 350 ma mobo (intend on upgrading cpu and mobo eventually) and 16 gig of ram. It's just so weird, I thought it was a power issue but the thing will load into BIOS and run fine, as soon as it boots into an os it shuts down within minutes. Oh, I've checked cpu temps and they havent gotten above 30° before it shuts down so that's not the issue. I'm at a loss. The loading bios is what is throwing me off, it cant be the psu or restart button otherwise it would show the same issue in bios right? Please help, this is getting super annoying. Changed outlets and plugged directly to wall to rule out back up power supply and surge protector as poss causes. Also all components are only maybe 6 months old. I built it back in april and it's been running fine till now. I'm at a loss honestly dont know what to do at this point except start buying components and swapping them one by one which would get very expensive...anyone have advise? Thanks in advance!