https://support.apple.com/en-nz/HT208387
Battery Health
For iPhone 6 and later, iOS 11.3 and later add new features to show battery health and recommend if a battery needs to be replaced. These can be found in Settings > Battery > Battery Health.
Note: iphone 5 not in the list