Laptop turns off when plugged in without battery

Hello, so I have an ASUS ROG GL753VE, I received it from a friend and he gave it to me without the original charger.
I bought a replacement for like $20 on amazon (correct voltage and everything) and the charger worked fine for about two days; I was able to plug it in and play all of my games, do my homework, etc. On the third day it randomly just powered off while I was playing CSGO. I thought maybe the laptop overheated but I turned it back on and just idled on my home screen and it eventually shut off again. I kept testing it out and every time the charger is plugged in it will power off no matter what I am doing. The laptop works fine on battery but as soon as it is plugged in for about 10 seconds it will shut off. Ive taken out the battery and tested it and the battery is not the issue. Im thinking it might be the replacement charger as it was only $20 and the actual manufacturer charger from ASUS is like $80. Ive read online that it is either 1. The charger or 2. My motherboard. Is there anyway I can check make sure it is not my motherboard so I dont waste my time and money ordering the manufacturer charger?

So sad that my posts are being removed or edited after I give an accurate assessment of the situation

Cheap garbage Chinese chargers bought on Amazon.com can melt, catch fire, or self destruct even when the current ratings are listed appropriatly for the device it will power

Chinese batteries are also improperly rated and have burned houses down in the United States

The reason your charger was priced at $20 is because it is GARBAGE!

Note to Admin: This is an ACCURATE assessment of the problem
Please do not remove this post


Thank you! The charger even stopped charging the laptop consistently (would just toggle from charging to not charging; charging light would blink instead of being solid) I am returning the charger but since the OEM charger is about $80 on their website I decided to sell the laptop. Im hoping the new owner does not run into the same mistake as me and tries returning it for being faulty. I also hope the charger did not damage the laptop in any way. If all goes well Im going to put the money towards building a new pc. I wanted to try owning a laptop for once but maybe it wasnt meant to be.
Laptop turns off when plugged in without battery