1723
It's official: Smartphones will need to have replaceable batteries by 2027
(www.androidauthority.com)
This is a most excellent place for technology news and articles.
There's nothing I do on my current phone that I couldn't do on a phone ten years ago, technologically speaking. When I upgraded my phone recently, it was solely because of battery deterioration and because the previous model was out of service for security updates. I don't think I'm alone here.
On device ML.
The good news for you is that most 10 year old phones have user serviceable batteries, so you’re free to keep using those if you want.
Not much you can do about software updates, unless you want to pay significantly more for a new phone to cover the cost of OEMs having to pay their engineers to build those updates for the dozens of phones that get released over a 10 year window.