window.navigator.mozPower

There were scripting errors on this page. While those are being addressed by site editors, you can view partial content below.

{{ APIRef }}

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

This API is available on Firefox OS for certified applications only.

Summary

Returns a PowerManager object you can use to manage the power usage of the device.

Syntax

var power = window.navigator.mozPower;

Value

navigator.mozPower is a PowerManager object you can use to manage power usage on the device.

Specification

Not part of any specification

See also

Document Tags and Contributors

Contributors to this page: teoli
Last updated by: teoli,