My Iphone 5 keeps turning itself off?

I just got it, and whenever it plugs into the computer it will shut off after it syncs stuff, and when i'm using it by itself with almost 100% battery it will turn off randomly.

There's somewhere in the system where you can set the time out delay for when the phone actually shuts off the power. I'm just having a spat of incompetency and can't find it on my 4. Search around until you can find this and then set it to a longer period or even never. With the automatic shut down, your battery lasts longer before needing to be recharged.

  • Why does my iPhone 4 keep turning off and on by itself when its plugged in? I have an iPhone 4 and whenever I unplug it, it turns off. I can't get any source of signal, the Wi-Fi switch is greyed out, the date changed to December 31 and the time is an hour behind. The battery before I plugged it in was 20% its been 5 minutes and its up to 100%. Pretty weird.
  • Siri keeps turning itself off in settings? I installed Siri on my jailbroken iPhone 4 with siridr but whenever I turn on Siri in settings and I go back to it it's off. I'm losing my mind! I can still boot up Siri but it just keeps loading after I say something until I turn it off. Any help is greatly appreciated
  • 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