Try charging it on a wall charger instead of in the car. Also it could be a damaged cable, or a damaged charging port.
open