All the laptops I have seen have a Power Supply that plugs into the mains. Then a small round plug connects to the laptop, and supplies a low DC voltage. This both powers the laptop and charges the battery.
If yours works on the mains but doesn't charge the battery, it will have to go to the men in white coats.
This thread is now locked and can not be replied to.