It may be that your charging port is clogged up with dirt and needs some cleaning.
This can be done easily by carefully scraping the dirt in the port off with ypur Sim Eject tool or a needle. You should turn your phone off before you start though.
ᐯIEᒪE GᖇÜßE, ᒪYKIᗩ