If the battery jumps from 40% to 10%, or the phone switches off with charge left, the battery is usually worn out.
1. Check battery health (see our battery health tip).
2. Restart the phone and update it. A software bug can sometimes show the wrong percentage.
3. Let the phone run down until it switches off once, then charge it to 100% without interruption. This helps the phone re-learn the battery level. Don't do this often.
4. If the problem continues, replace the battery.
5. If a new battery does the same, check the battery connector and the battery data lines on the board.
Cold weather can also make worn batteries die early. If it happens only in the cold, the battery is still near the end of its life.