You can check the health of your iPhone's battery to determine when it's time for a replacement.