iPhone 5 shutting down
So alike to my 5s, my iphone 5 is having the exact same problem (batt died, didn't change it till about halve a year later), its shutting down by itself when not in use, what's different is that there are lots of panic code in the diagnostic.
Problem:
Phone keeps shutting down when not in use, changing battery doesn't solve the problem.
Question:
Which IC is broken? Or what else could it be?
PS.
Reset, restore did nothing, also tried removing the proximity.