News for hackers. Stuff that matters.
Re:Your battery status may be used to track you online by brlewis on Tuesday August 02, 2016 @09:34AM (#12209792)
Wow, I'm surprised how much info is available in desktop chrome. Events get fired when I unplug my laptop and plug it back in: https://www.audero.it/demo/battery-status-api-demo.html

I searched Chrome settings for "battery" and found nothing. I did find this article with instructions for turning it off in Firefox: https://www.hackread.com/smartphone-laptop-battery-invading-...

I'm not opposed to the concept of a battery API, but as others have commented, it would be just as useful with a lot less granularity.

Re:Your battery status may be used to track you online by battre on Tuesday August 02, 2016 @12:49PM (#12211248)
Chrome has fixed the granularity a long time ago https://chromium.googlesource.com/chromium/src/+/637776d1183... and I guess most other browsers have fixed it as well.
Re:Your battery status may be used to track you online by brlewis on Tuesday August 02, 2016 @01:34PM (#12211575)
They've closed the window but left the door open. See the link I posted. When the page knows "Battery will be discharged in 18365 seconds" it doesn't matter that the battery percentage is only two digits.