Chosen Solution

Battery won’t charge.

If the battery won’t charge, 98% of the time it’s a bad battery. Google “coconut battery”, download and run it, and it will tell you the status if your battery including load cycles and current capacity. If the machine runs fine on ac power, most likely the problem is not the ac. I have never seen an ac that powered the computer yet was at fault for not charging the battery.

Try a different charger or try the charger in a different computer, if it works, then replace the dc in board.