1. Open Settings, then Battery, then Battery Health (on some models Battery Health and Charging).
2. Maximum Capacity: 80 percent or above is normal for a used iPhone. Below 80 percent, iOS usually shows "Service recommended" and a replacement will bring back the battery life.
3. "Peak Performance Capability" messages saying the phone shut down unexpectedly also mean the battery is worn.
4. After a battery replacement by a non-Apple shop, newer iPhones may show "Unknown Part". The battery still works normally.
5. Tips: avoid heat, and turn on Optimized Charging (same screen) to slow battery wear.