But why the fuck should a website know how much charge my phone has?
The problem is that shitheads exploit every possibility to reduce the utility of society in favour of their own profit.
This is why we can't have nice things; as the aphorism goes.
Maybe programmers and designers should start thinking the other way around: what could be pretty clever that could be used for a feature but that CANNOT be misused for tracking
That sounds like a client concern, not a server concern.
I mean, as a consumer of web content I do not want my power saving profile to be accessible or actively influenced by a third party.