Recently, I had my HP ENVY 360x 2-in-1 Laptop 15-ey0xxx taken to be repaired after it started having issues. I got it back a couple days ago after 2 months without it and it worked completely fine for the first few minutes, then it with randomly shut off without a warning. No shutdown screen or Restart screen, The entire things kills power and turns off. I would have to turn it back on and sometimes it would bring me to bios then immediately to the login screen. It had this issue before repair but it was a lot for prevalent and often.
I'm glad it works but i want to know if this is a fixable problem. I've had it for 3-4 years now and I wont be able to get a new one for a couple months. I've checked up and down Event Viewer but there is no warning or error it just turns off. Even after I changed it to not automatically shutdown when detecting an error.
Is this a hardware or software issue?
Edit: I had to submit before it shut off again which it did 1-2 minutes later.
I have noticed when raising the laptop above my desk this issue stops occurring which makes me think its the fans not receiving enough air but I can go a whole day without it shutting off so I don't know if this is correlation or causation, or a coincidence.