As of Firefox 52, the Battery Status API is no longer available from Web content for privacy reasons, where it could be used by remote trackers for user fingerprinting. It’s unknown if there were legitimate use cases of the API.
Battery Status API has been removed
Published: | Categories: DOM, Privacy & Security