How to RESET the iPhone 4 when the power button is broken?

(I put "reset" in all caps because I don't need people who don't read the question telling me to go to Accessibility and use an on screen button to make my phone go to lock screen)

My power button broke weeks ago, and the Apple employees told me how to make an on screen power button appear on the screen. Well now I have to reset it to re-install my Wi-Fi, so I need a way to reset (not go to lock screen, reset completely) my phone without the power button.

Is there a way to do this, or am I completely screwed? And don't tell me to get a new phone, because that's out of the question.

Take the battery out

  • 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?
  • My iphone power button is broken, how do I cancel incoming calls? So my power button is broken and i'm on assistive touch but the problem with assistive touch is that to get to the power button i have to press the dot then a sub menu then the lock so to cancel an incoming call i have to press six times and it's kinda annoying, so is there a shortcut where i can cancel the calls by one or two touches can i change the function of other buttons to make it cancel the call?
  • My iPhone 5 lock/power button broken. Does it come with Warranty? I bought the phone when it came out and didn't get any "special care package".Is the standard warranty one year? Can I take it in to an apple store to replace/fix without paying any extra?
  • 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…