logoalt Hacker News

geophphyesterday at 10:02 PM4 repliesview on HN

> strava.com : Login works now that Navigator.getBattery throws the spec-mandated error type instead of one of our own (#8770).

what’s Strava want with my battery level?


Replies

NBPELtoday at 1:38 AM

Most likely for generating unique fingerprint for tracking

yurishimoyesterday at 10:09 PM

Maybe it uses some that battery API as a heuristic for a lower-power version of the site? Or maybe they have a web-only version in developing markets? Low battery means it should query for your location less often to save battery?

Totally spitballing here. Strava being a website that requests battery does not seem wildly outlandish to me, albeit it is a bit suspicious in general.

show 2 replies
nonameiguesstoday at 10:00 AM

Strava's a route tracker. Assuming you can use it through the website, it probably controls how often it polls location, trading off accuracy for power consumption.

charcircuityesterday at 10:55 PM

Bots trying to brute force accounts may not have the API implemented like a real device may.

show 1 reply