>>Kepler+ls
Smartphones started hitting the same plateau of "good enough" performance that PCs hit years ago, where today's phone hardware is more than adequate for years to come. Going forward it would become more and more advantageous to keep old phones going by replacing the one consumable component. The biggest difference from PCs is that you're still locked into whatever OS the phone came with so when the OS gets artificially bloated there's little recourse, no lightweight OS that just works and can keep the phone going.
So 7 years of updates would be fine, maybe with one battery swap in the middle, as long as Google starts paying a bit of attention to their phones' quality assurance and control.