It had been in the works for a while, but now it has formally been adopted. From the article:
The regulation provides that by 2027 portable batteries incorporated into appliances should be removable and replaceable by the end-user, leaving sufficient time for operators to adapt the design of their products to this requirement.


The real issue nowadays is the software, although this is still a good step.
But being stuck with no software updates after 2-4 years still renders them unusable (when also locked down).
They should be forced to provide open bootloaders, firmware and kernel drivers once the devices reach end of life. Maybe even include hardware details and schematics, etc. for full repairability.
The efforts of devices like the Framework laptop and Steam Deck should be commonplace. It’s insane we put some corporation’s patents and trade secrets above the environment.
While they have other not-friendly practices, Apple does well on the software side. The iPhone 8, going on 6 years old this September, is still running the latest version of iOS.
I’ve been away from Android for a while now. Is it still the case that there is a lot of fragmentation and updates end prematurely? Or is there another OS / software you’re thinking about?
Both Samsung and Apple offer 5+ years of software support nowadays. It seems unreasonable to expect much more IMO. Devices don’t stop working after no longer receiving updates, and there is also the option of jailbreaking/installing custom ROMs for those who really care.