2 ms·
Same. I didn't know this was something web pages could collect. Apparently these days only Chrome on Android still supports it. Found this helpful comment abou
by nohuck13 2y ago
Same. I didn't know this was something web pages could collect. Apparently these days only Chrome on Android still supports it.
Found this helpful comment about the background and timeline https://news.ycombinator.com/item?id=38417192 https://news.ycombinator.com/item?id=38417192
The battery API was rolled out by all the major browsers between 2012 and 2014 as a way to let web pages avoid doing compute-intensive stuff on low battery, but it was pretty much immediately used for fingerprinting as the battery level number was so precise that if you hit two web pages at the same time, the battery level was as good as a cookie. Firefox and Safari/Webkit disabled it in 2016 but Chrome just capped the precision at two digits.