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.
> it uses some that battery API as a heuristic for a lower-power version of the site?
As a naive user I would expect websites to not be able to receive information about my battery state. With that information they can track my mobile phone usage pattern, and with some cross-referencing gain even more specific private information.
I think it is great that the API exists, but it is not great, that no permission from the user is needed to access it.
Re:This Month in Ladybird - April 2026
by charcircuit on Saturday May 02, 2026 @06:55PM
(#47991428)
Bots trying to brute force accounts may not have the API implemented like a real device may.
Sure, and my desktop computer just reports 100% battery level? Which can't be easily replicated by a static header in the bot?
This would be a silly thing to use to identify bots.
Re:This Month in Ladybird - April 2026
by charcircuit on Saturday May 02, 2026 @10:01PM
(#47992590)
It's not silly if it works.
Most likely for generating unique fingerprint for tracking
Re:This Month in Ladybird - April 2026
by nonameiguess on Sunday May 03, 2026 @06:00AM
(#47995331)
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.
what’s Strava want with my battery level?