I have an Acer Nitro An515-43 and when I turn it on it powers on. The keyboard lights up, the fans spin and everything then after a few seconds it shuts down. For extra information that might be relevant, I upgraded my screen from 60 to 144hz and everything is fine and the laptop was still powering on after I upgraded. Another piece of info that might be of some use is that I noticed the camera is automatically turning on and overheating so I decided to unplug the cable powering it. (side note I also changed the EDP cable from 30 to 40 pins and I bought the correct EDP cable). After upgrading the laptop I set it aside for a few hours since I head out and when I was about to use it later that night, the problem started.
I've already tried the following:
-Resetting the ram
-Draining the power by unplugging the battery and the CMOS then holding the power button for different times (15 seconds, 30 seconds, 1 minute, and 1 and a half minutes)
So far I still haven't foix and I really need help
[Edited the thread to add model name to the title]