How do I turn off my iPhone if the power button is broken?

I have an iPhone 5 but the power button is broken and it won't turn off by itself now. I turned the auto lock to 30 seconds but it just doesn't turn off. Is there anyway to fix it or be able to turn it off. Also I can't power it down because I won't be able to turn it back on because the broken power button

Locate a repair or replacement
https://www.staples.com/sbd/cre/tech-services/get-help-now/smartphone-tablet-repair/?cid=PS:GS:RE:RP:b:35:71700000015165091:%2Brepair+%2Biphone:p11566389160&cvosrc=ppc%20nonbrand.google-CAT.%2Brepair+%2Biphone&cvo_cid=382944603&cvo_crid=189032187054&Matchtype=b

Try TracFone.com

If you put your iPhone screen down on a table, the display should turn off. Actually, there's a way to turn it back on without the power button. If you plug your iPhone in, it should turn on (once it has enough power).

To turn it OFF, use the Assistive Touch feature to put a gray button on your screen. (see link). You can use the button to do a variety of things, including powering off your phone.

This doesn't help with powering it ON, however. Still, when you plug the iPhone into a charger, it'll automatically power up. I'd buy an inexpensive power bank (lipstick-size, maybe), to keep with you. The phone will power up when you plug into the power bank.

  • My iphone turn off for no reason and won't turn back on and lock button is broken? I was just on it and it was 85% charge and it turn off for no reason and it still vibrating.plus my lock button is broken I need help Mom won't take me to get it fix I need help now
  • My iPhone power button is broken, what can I do? So out of nowhere, my power button stopped working. I have to use the home button to turn the screen on, and I can't turn the phone off, I just wait until it goes off by itself. I got it last November an it's been less than a year, am I still under warranty? What should I do? How much does it cost to get it fixed?
  • Is tbere any major différence between thé iPhone 6 and the 6s? Whooppeee is Xmas again and my daughter wants new 2nd hand) iPhone… 2 years ago almost bought her 5 before i réaliséd that it was 5s she wanted ( cos thé 5 sucks?) And I don't want to screw up this year…
  • IPhone lock button broken. Can turn off but how do i turn it on? The lock button at the top of my iphone is broken, but i have been using it fine as i have turned on 'Assistive Touch' and have been using the white dot that appears on screen. However, I'm worried about turning it off, and surely the white dot will disappeaer when the phone is off, and I will have no way of turning it on? Am I correct in thinking this?