Chosen Solution

Hello there My laptop is 5 years old, 4 months ago I replaced the battery and the charger with a non original one because the previous one just didn’t work anymore. The laptop shuts down (as If I held pressing the power button, aka a force shut down) randomly within 2 minutes of starting the machine, here are some notes that I took: It does NOT shut off randomly if the laptop makes a bit of loud noise constantly.If it doesn’t make a loud noise, then it will shut down automatically within 5-10 mins if not idle, but if I plug in the charger, it will shut down within 30 seconds.If the laptop makes a noise aka meaning it won’t shut down, then I am able to plug the charger in without it shutting down. Even Viewer says I have a Kernal Power Error, tho I can’t find the code for it since it always makes the laptop shut it self down… so ye Any help will be appreciated.

when you say loud noise im assuming the fans spinning up. this sort of sounds like an overheating thing if thats the case. the CPU will over heat and force a shutdown fairly quick if its not cooled properly. try to see if there is any airflow when you hear and dont hear the loud noise. also try and take some compressed air and blow out the vents.