The adapter to charger hardware on the motherboard is cheap and does not allow running from just adapter without charged battery. This pc needs some charge in battery so never let the battery go dead.
Find someone who has a Gateway and charge it, once they go dead they won't always recharge, order a new battery that has some charge on it, put your friends charged battery in your pc.