IPhone only charges when it's off?

I have an iPhone 5 and I've tried charging it with multiple chargers but it only charges when it's off. However, if I use a car charger it charges when it's on. I've read I have to restore my phone, but I don't want to because I don't want to lose everything. Is there another way to get it to charge when it's on?

Try holding the power off button and home button until the apple logo appears (YOU WON't LOOSE ANYTHING!) if that doesn't work its maybe water damaged somehow…

  • My new iphone 5 only charges when turned off? I have a new iphone 5 that I recently bought and is updated to ios 8 but the problem is it only charges when the phone is turned off, I have tried restarting my phone but nothing changes, and I have also cleaned out the lint from the phone but it made no difference
  • My iphone only charges after I turn it off and back on? When I plug my iphone in it won't charge so if I turn it off and plug it in the turn it back on it starts to charge and my battery is going dead really fast and help on how to fix
  • My Iphone 4s only charges when off? My iphone 4s only charges when its off. I held down the lock and home button to reset it but nothing works at all. I've done it for like 5 five tines in a row. Does anyone wanna know how to fix this?
  • My iPhone 4S only charges when it's turned off! What's wrong? It was charging perfectly fine earlier. But then I noticed it stopped charging. I honestly didn't think too much of it until I unplugged the charger part that was in the wall and I went to every single port in my house. It still wouldn't charge! I've looked everywhere for a solution. I've even went to the extent of restarting my phone. Can someone please tell me what is going on?