14
edits
Line 40: | Line 40: | ||
==== Methods ==== | ==== Methods ==== | ||
* <tt>void powerOff()</tt> | |||
==== | * <tt>void reboot()</tt> | ||
* <tt> | |||
* <tt>void restart()</tt> | |||
* <tt>void powerOff()</tt> | |||
* <tt>void addWakeLockListener(WakeLockListener listener)</tt> | |||
* <tt>void removeWakeLockListener(WakeLockListener listener)</tt> | |||
* <tt>DOMString getWakeLockState(DOMString topic)</tt> | |||
==== Properties === | |||
* <tt>boolean screenEnabled</tt> | |||
* <tt>boolean screenBrightness</tt> | |||
* <tt>boolean cpuSleepAllowed</tt> | |||
== Tests == | == Tests == |
edits