How to reset a magsafe charger that doesn't charge macbook pro's battery?
Sounds like you got a sticking ground pin.



Just plug it out when connecting to the laptop horizontally (with more force) and stick it back it horizontally as well. Usually this is due to you removing the plug by lifting it (feels gentle but actually bad) rather than yanking it.