The problem is not really the battery anymore, it's the software mainly. It's all closed source and is often deprecated before the hardware is dead. Then the manufacturer makes it hard to unlock bootloaders; keeps drivers closed source and effectively bricks the device. For recurring sales are the backbone of modern economy so we must force obsolescence. Why would you want to replace a battery in a useless device? Pl…
If one was lucky, maybe with developer tools there was a firmware update, and even those happened at most once.