Chosen Solution

The adaptor is working fine. After booting, it will work for about 5 minutes and the laptop just goes off. Seems the processor is getting heated. Just thinking.

Maybe is going in thermal protection becouse the thermal paste is dry and old on cpu and gpu, try to replace it and clean the dust from the vents if not workimg you have a hardware problem