Sounds like you're experiencing battery degradation and not accepting a charge. You have the charger path 5V going in, so nothing with your charger. You can try a new battery, but just so you know, this is beyond most people's scope as we don't really take our phones apart to check these things, and a professional repair shop can handle this than most consumers.