Why does my iPhone 4 randomly shut off?

I listen to music, put it on my desk, face down or face up, and it shuts off? What the hell?

You probably have apps running in the background that also have access to your music. Close them all down and see if it solves your problem. It did for me.

  • Why does my iphone shut the call off at 4 or so hours? My boyfriend and I have been together for a while and sometimes we fall asleep on the phone, however, whenever we do I always wake up to the phone being disconnected. When i checked back at our phone history, it always hangs up the phone around 4 hours of talk time, even i its a full battery or its being left on the charger when we fall asleep. Is there some way to stop this?
  • Why does my iPhone shut off when it is unplugged? Well for a while now my iPhone has been shutting off when I unplug it. Sometimes the battery would just stay at a same percent for a while and I will take it off the charger and plug it back in, then my phone would shut off and come back on. That would keep the battery going up. Also lately, my phone has been receiving text messages really late and unless I turn my phone off I would get the messages late. Anyone has any suggestions?
  • 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 randomly turn off? I've had an iPhone 3GS for a while but now it'll just randomly shut off and i have no idea why. When i try to turn it on the apple symbol appears and thats it until it just goes black again and won't turn back on until you plug it into the charger. I already tried hard starting it and nothing. It can be at 90% battery and it'll do that can anybody help?