Try checking if it works with another charger. If not try to see if your phone's micro usb port seems fine. Else change your battery.
open