4 ms·
This site showed me a popup telling me that I had less than 10% battery life left and that this site could accelerate the drain, which I thought was hilarious.
by cdchn 2y ago
This site showed me a popup telling me that I had less than 10% battery life left and that this site could accelerate the drain, which I thought was hilarious.
- nohuck13 2y agoSame. 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.
- m463 2y agomaybe the welsa supercharger is running low on gas.