They should at least make it easy to buy a genuine battery over that lifespan. Nobody should have to browse eBay & AliExpress for a replacement component that could theoretically explode.
Manufacturers should also be forced to promote battery recycling practices & initiatives too. They are tossing endless amounts of them onto rubbish piles via planned obsolescence and yearly updates.
I'm all for consumer protection, but I don't think demanding new hardware for free is reasonable at all. Making them easily available and replaceable would be.
It's an alternative idea for a removable battery that they don't want to give back to the consumers, not even the steam deck has this. Software updates are nice, but the batteries are still the main limiting factor on a phones usability. I know getting free battery replacements is asking too much, but their dark patterns are as well. Corporations have way too much leeway, power, and protections; I don't care if they get hit hard with changes that help consumers.