My iPhone won't charge when turned on?

I have had an iPhone 4s for a year now and yesterday my phone would not charge so I tuned it off then charge it and it work so I left it to charge overnight then updated my ISO and my apps and reset it but it still won't charge unless it's turned if can someone help me

Maybe the problem is your charger, try borrowing someone else's charger then try. If it still doesn't work you can go to a service center and let them take a look on your phone.

  • My iPhone won't charge unless it's turned off? My phone won't charge unless it's turned off. I just bought this charger two days ago. Is there anyway I can fix this problem? It's not the chargers fault.
  • My iphone won't charge after I dropped it unless it's turned off? Today I dropped my iPhone on concrete and the screen didn't crack but it won't charge unless it's turned off. Why won't it charge while turned on? And the battery seems to be draining extremely quick now. Anything I can do or is it permantetly damaged?
  • My iPhone turned off by itself and turned back on while using a app? When I was on YouTube my phone just shutted off by itself then turned on. Is there something wrong with the phone. Also when I click my home button one time the phone sometimes wouldnt come on till the second click. What can I do?
  • My iphone 4 froze, screen turned green and turned off? I was playing a game i regularly play when it froze. I let it sit there for a couple minutes, I pressed the home button and the screen turned green, It was green for a minute. It shut off and won't turn on. I plugged it into the charger 20 mins ago and still no response. Also, my power button broke a whille ago. What can i do? Keep it plugged in until it turns on or should i unplug it for a couple days?