Honestly I think this is the real issue: batteries barely last three years and when they start to go things go strange and people blame the phone rather than replace the battery. I expect somewhere inside Google they grok that supporting a phone beyond three years becomes the root cause problem being dying batteries.
Which is about the same thing for an iPhone? Apple stores don't magically replace batteries in seconds. On my iPhone 6s, I had both a bad battery, and a defective display - took 7 hours to get my phone back after scheduling an appointment at the Apple Store.
I wonder how much of this could be extended by phones just auto-limiting charging to 90% (current phones already time charging so when left on overnight it only reaches 100% when you wake up) most of the time, since that seems to increase battery longevity by a lot.