Battery status API gated by feature policy

Battery status API gated by feature policy provides developers with a way to control the availability of this API.

The Battery Status API provides a way to check host device battery status. This might be important e.g. for applications which need to ensure enough power is available for completing a task. Unfortunately this kind of API can be misused for fingerprinting, profiling etc. By gating the Battery Status API using a feature policy, developers will be able to disable this API within their applications, and in third-party components.

Documentation

Specification

Editor's draft

Status in Chromium

Blink


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Negative
  • No signal
  • No signal
  • No signals

Owner

Last updated on 2020-08-10