MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey

B2G OS

MozPowerManager.powerOff()

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

The MozPowerManager.powerOff() method is used to shut off the device.

Syntax

MozPowerManager.powerOff();

Specifications

Not part of any specification.

See also

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, teoli, MHasan, kscarfone, Sheppy, Jeremie
 Last updated by: chrisdavidmills,