Skip to content

raulduran/PowerManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PowerManagement

Plugin for Cordova (3.0+) IOS and Android

The PowerManagement plugin offers access to the devices power-management functionality. It should be used for applications which keep running for a long time without any user interaction.

#Adding the Plugin to your project

cordova plugin add https://github.com/raulduran/PowerManagement.git

#Removing the Plugin to your project

cordova plugin rm org.apache.cordova.plugins.PowerManagement

#Using the plugin

Acquire

cordova.plugins.powerManagement.acquire(onSuccess, onError);

Release

cordova.plugins.powerManagement.release(onSuccess, onError);

About

PowerManagement plugin Cordova 3.1 Android and IOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published