IPhone 5 keeps attempting to turn off?

It keeps flicking to the screen in which you need to slide the button for it to turn off. It constantly flashes & goes to that screen even when I attempt to stop it. This keeps happening randomly. Why could this be?

If its still in warrenty contact apple straight away! Their customer service is very good as i have experienced and they often replace your item! Have you triend turning it off? Etc. You could try plugging it into your laptop/pc syncing it and then restore this often works with technical problems! You can the. Sync it again to receive it to your settings you had it

Well my sisters phone did somthing similar what she did was hold down the home and power buttens at the same time this should fix it if that doesn't work you can reset it by going to setting than general and at the bottom it will sayan reset just hit that warning you will lose every thing and you will have to active the phone again and if that doesn'ton work I would talk to apple or your cellphone company

There's something wrong with the lock button, i had the same problem but went into the apple store and they replaced the device for me right there and then and that is even without purchasing the device from them.

  • 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 won't turn on, the apple logo keeps coming on and then off? My phone randomly wouldn't come back on, so when I got home I connected it to a USB, ever since all that comes up is the apple logo and then it goes off again and keeps repeating, it won't switch on and I don't know why, please help Also my top right button, used to unlock the phone is also broken
  • My Iphone keeps turning on when I turn it off, why? My Iphone has overheated twice when I was at the beach and it was also wet if that matters, anyway my phone keeps turning on when i turn it off and I don't know why, Please help me
  • 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