Uncommanded Reboots

I have an iPhone 5 with ios 7 and am getting uncommanded reboots. Also after chargong the phone will continue to show the old charge percentage ie 35% untill it is powered down and poweded up again. Then it will show 100% charge. Any suggestion?
Backup your iPhone 5, put it in DFU mode and restore as new via iTunes.
Also you might want to search through your apps to see if you have any old versions or any old apps that haven't been updated in quite awhile. I used to have the battery life issue when I noticed I had an app that hadn't been updated since iPhone OS 2. I removed the app then rebooted the phone. I also was having issues on my iPhone 5s yesterday with the springboard crashing randomly. I finally figured out that I was using an old version of Text+ so I removed it since I wasn't talking to my friends on it anymore.

Original thread: https://forums.imore.com/threads/uncommanded-reboots.267587/