My iPhone 4s just randomly shut down?

I was just using it normally when the screen turned black and turned off out of no where. My lock button is broken so i can't turn it on manually so i tried to plug it into a charger which is how I would normally turn it back on but nothing is happening, the screen is still black and it won't turn back on.

It could be stuck in dfu (recovery) from the broken lock button activating it. There are only 2 ways to exit dfu mode. Plug it into your computer and do a full restore back to factory or hold lock button for 5 seconds, and without releasing hold the home button for 15 seconds then release the lock button and hold it until it comes on. (If it doesn't come on within 30 seconds try 15 seconds instead of 5 and 30 instead of 15 for the home button)

Without your lock button functional, the only option would be to plug it in as you did. If no battery or charging indicator appeared on your display, then there's probably another hardware issue inside the phone. Possibly your LCD or backlight. Turn your phone's switch up so it isn't on silent, and press volume up to be sure your volume is on. Assuming your lock slider is default and makes the unlocking click noise, you can mess around by trying to unlock it by sliding your finger as you would if it worked properly. If you can hear the functions, but the display isn't showing, it's your LCD. Also try holding your home button for a second or 2 and see if Siri will activate.

  • Why does my iPhone shut off randomly all the time? I have an iPhone 5s and I have had it for more than a year now. As of recently, when I use it, I could be texting, snapchatting or watching youtube videos and out of nowhere with no warning, It just turns off. The apple logo comes on the screen and then It turns off again. It comes on and then turns off and it stays like that for about 10-30 minutes. I don't know why it's been doing this and it's getting really annoying.
  • Why does my iPhone 6s randomly shut off outside? Sometimes when IIm outside my iPhone 6s would randomly shut off. It would show a dead battery sign and charger needed to be connected. 5min later it would turn back on. I've read that it may be the cold weather and I think that s part true. Since its pretty cold outside (New York) it would explain why it d shut off. Warm season didn't start yet and it's April. Does anyone else experiencing this or is it just me. Do I need a new battery?
  • Why does my iPhone 3gs constantly shut down? After it freezes and shuts down i try to turn it back on but the battery goes out and you can't turn it on unless you charge it, i see the apple logo and it just shuts down after
  • My Iphone 4 shut off randomly and won't turn back on? - 1 I've searched the internet and found the same answer: hold the sleep/wake button and the home button at the same time to reset the phone. Now the only bad thing is that my sleep/wake button is broken… So I have no idea what to do. I have the latest iOs update. I don't know maybe it will randomly turn itself back on