Hacker News new | ask | show | jobs
by myself248 413 days ago
It's one thing to have traffic data, presumably connected from some internet point or something, idk, I just assume that everything's monitored somewhere.

But how do they know users' phone battery level?

3 comments

That one threw me off as well! As the other commentators mentioned: "Navigator.getBattery" in browsers is the culprit. "Luckily" it's not supported in Safari and Firefox.
> But how do they know users' phone battery level?

https://developer.mozilla.org/en-US/docs/Web/API/Navigator/g...