iPhone panic 0x40, 64: Battery gas gauge
Panic codes: 0x40, 64
How to fix it
The panic points to the battery gas gauge.
1. Try a known-good original battery.
2. Check the battery connector and its data lines on the board.
3. This code is known from only a few repairs – test before you change a part.
By Hasan Patel, iPhone Fixer. Check your own panic