|If a battery does not charge it can be only a couple of things.|
The battery is bad. --- Try another battery.
The power cord/charger is bad. --- Trying the laptop with the battery removed and the laptop plugged in might give you some idea if it runs but if the voltage is low, it might run the laptop but not charge the battery. Try a new charge cord.
The charge circuit/power board in the laptop is bad. --- It needs factory service or a new power board (if separate from main board).
Try another outlet in the house (strange but might help).
If you just purchased it used from a store or online retailer, take/send it back under any minimal warranty since it is not working properly.
You have to be a little bit crazy to keep you from going insane.