Firefox Removes Battery Status API Used To Track Users
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Firefox Removes Battery Status API Used To Track Users

Battery Status API was found to be a privacy concern.

Mozilla has announced that future versions of Firefox will remove the Battery Status API due to privacy problems.

The Battery Status API allowed websites to get information about the battery level of the user’s device via their web browser. It was intended to be a helpful way for sites to know when they should converse power usage.

But researchers from France and Belgium quickly found that it was very easy to misuse this functionality to identify and track users. While their paper was published over a year ago, increased interest in internet privacy and new evidence that the feature was not being used legitimately has now led Mozilla to axe the feature.

The Battery Status API posed a specific danger because the data identified the computer itself, not the browser. Researchers found that users could actually be tracked across browsers.

The Battery Status API is being removed in Firefox 52, which is due out in March of next year. The feature has been implemented in Firefox since 2012, and Chrome since 2014.

Privacy Risks

The Battery Status API, which was originally designed by the W3C, has four main functions. It can measure the current battery level, if the battery is currently charging, and how long the battery is to being fully charged and completely empty.

When investigating if removing the API was the right choice, Mozilla’s engineers looked at how the API was being used. They found multiple cases where it was being used to collect data and track users. But they were not able to find any “legitimate use cases of the API.

The feature was intended to tell websites when a user’s battery was low. The idea was that a site could use this information to slow down or stop power-hungry features, such as auto-playing videos; or take the opportunity to save the user’s work automatically. However, there was little evidence any websites were doing this.

Instead, there seemed to be more value in using the reported battery status to “fingerprint” users. Fingerprinting is when multiple data points are used to uniquely identify you, or your computer.

That data may not reveal your real-world identity, like your name. But it often gives enough information to identify your device and assign a unique identifier, like “User1005.” Pervasive tracking can then make it possible to then track User1005’s activity across the internet.

Fingerprinting is easier than you may think. The Electronic Frontier Foundation (EFF)’s Panopticlick project shows just how much data can be collected from your internet browser. Even seemingly harmless things like what fonts are installed on your computer can contribute significantly to a unique digital fingerprint.

Google’s Chrome browser still supports the Battery Status API and you can see it in action here. It can get realtime updates on the batteries’ activity. The W3C has been discussing what can be done to improve the AP