Iphone keeps turning off and on?

Guys please help me this is so annoying, so my iphone 4 keeps randomly turning off when it still has a lot of percentage left, and when I turn it on it might work fine but then turn off after five minutes. Right now, Every time I turn it back on IF it doesn't do so itself, then the battery randomly changes, going from 5% to 49% and back down to 5% while its charging. Someone please help me how do I fix this?

I had this issue and it it much like a ghost or glitch in the phone. You need to sync with itunes and do a restore of the iphones software. It is okay to backup the phone and restore everything to it aftwards because the resotore is to set the software scripts and base-callouts back to default and has no issue with the apps and music you may have on it. I hope this works for you because it worked for me.

  • Why is my iPhone 5 turning off and not turning back on? This has happened twice now. My iPhone 5 has turned off in the middle of the night with a full charge and off the charger, and when I try to turn it back on it takes a couple tries. Has anybody experienced this?
  • My iPhones sound keeps Turing keeps turning off? Well for a while now my music will randomly turn off and I go to the app and there's so sound bar what so ever… And then I restart my phone and my music or keyboard sound still won't turn on… What do I do now?
  • My iPhone keeps turning on and off like it turns on and off. Can someone tell me? Okay tbms it turns on and off on and off and then sometimes it shows a red screen for a few seconds then off again and dies out. It's not the battery because I got that changed thinking that it was the cause and it wasn't. So is there anything someone can help me with? The repair guy tried restoring it through iTunes he said it didn't work either it just won't come on it doesn't go pass the Apple logo before shutting off and on again and dying out
  • My iphone keeps turning itself off and won't turn back on again? I have an iphone 4s, i've had it for a year now.recently it will randomly turn itself off even when it has charge in it, it will go off and not turn on for hours. I keep trying to turn it on and eventually it will come up with bit saying it needs to be charged basically.sometimes the screen will go blue or come up with random colours and turn off. I have no insurance for it either. I ordered it online, it's a contract with 3 mobile.i'm not sure if warranty as run out.