Why doesn't my iPhone fully charge?

When my iPhone 4 runs out of battery it charges until around 10% and then it stops. Yesterday it fully charged and I don't know how it did. But the charger is fine because my iPod charges fine with it. So what's the solution? I don't want to throw the phone away and I don't want to take it into repair unless I really have to. So how can I get my iPhone to charge?
It also won't connect to my PC.

Send it back to Apple

  • Why doesn't my iPhone 6s doesn't have night shift? When I go into settings and then into brightness there's no option for it! My phone is completely updated The title was worded badly on my part but you know what I mean
  • Why doesn't my iPhone 4S charge? My iPhone doesn't want to charge I replaced the batter and it still won't charge! I leave it plugged in till it says 100% but in a couple of seconds it drains the battery again. Can anyone help?
  • Why doesn't my iPhone 4 charge when it's on? Ok, so when I turn my phone off, while plugged in, it will charge but I can't get on it. Every NOW AND THEN when it is on it may charge. Does anyone know how to fix this so I can keep it charging consistantly?
  • Battery on my iPhone 4S doesn't fully drain? My battery life is weird instead of draining all the way down to 1% it dies at around 12%? What can I do to change this? Or improve battery life overall?