WebAPI/Security/Battery

From MozillaWiki
Jump to: navigation, search

Battery API

General Use Cases: Adjust app behavior based upon power status

Reference:

Note from the W3C spec:

The API defined in this specification is used to determine the battery
status of the hosting device. The information disclosed has minimal
impact on privacy or fingerprinting, and therefore is exposed without  
permission grants. For example, authors cannot directly know if there is
a battery or not in the hosting device.

Inherent threats: Fingerprinting, abuse of battery?

Threat severity: Low

Type Use Cases Authorization Model Notes & Other Controls
Web Content Same as general Unrestricted
Installed Web Apps Same as general Unrestricted
Privileged Web Apps Same as general Unrestricted
Certified Web Apps Same as general Unrestricted