Software security updates seem to be the limit to phone life, not batteries (the latter of which I've had replaced at Apple stores). Apple still seems to have the longest support for security updates.