Allows enabling or disabling device sleep.
The description within the plugin.xml for Sleep Control is very short.
More information could be available on the GitHub README.

Installation is done via the Cordova CLI.

Install Sleep Control using the latest version from GitHub:

$ cordova plugin add https://github.com/nleclerc/cordova-plugin-sleepcontrol.git

Install the latest published version (0.1.0):

$ cordova plugin add fr.spirotron.cordova.sleepcontrol

Supported Platforms
  • Android
  • BlackBerry 10
  • Fire OS
  • Firefox OS
  • iOS
  • Ubuntu
  • Windows 8
  • Windows Phone 7
  • Windows Phone 8
Supported Engines
  • Unknown