My iphone turned off in the middle of the night even though I was at 90%?

I woke up and my phone was off and I had to charge it and it turned back on just fine, but I'm curious as to why this happened if my phone was pretty much fully charged? There's nothing draining my battery either; no music was on and I wasn't on the phone with anyone… Can somebody please tell me what this means?

Same thing happened to me. It would shut itself off and I would have to hold both buttons to get it turned back on. I went to apple and they did a restore. And it seemed to fix the problem.

If its only once don't worry about it. I have never had this happen on mine.

  • Will i be charged for texts on iPhone even though i turned off cellular data and enable 3G? I have turned off my cellular data and 3G believing that everything of texts web browsing etc. Is all based on Wi-Fi. I know imessage won't charge me even though i'm on Wi-Fi. However if i were to text someone who does not have an iphone and it isn't imessage will i still be charged? Because sending messages to them works with my cellular data and 3g off but will i be charged or even charged more since it is off?
  • Why does my iPhone work with safari even when Wi-Fi is turned off? I usually keep the Wi-Fi off on my phone to save battery, and one day I went on safari to look something up. I noticed that it still worked even when my Wi-Fi was turned off. Why is this happening? Does it connect somewhere else, or to the same Wi-Fi even if its turned off?
  • Why does my iphone use data over night when cellular data is turned off? Every night I turn off cellular data and leave the iPhone on and one day I wake up and check my data manager and see i have already used 25 MB please help!
  • Why did i go over my data even though i had it off I have an iPhone 5 with a 300mb data plan on AT&T, and i noticed i was almost going to go over it (i had 297 of 300mb) so i turned off my cellular usage off in the settings and just used my home Wi-Fi. But today i woke up and i got a message from AT&T saying that i had gone over my limit by 7mb! WHY? I had it off and never turned it on… Also, What happens if i go over my data?