Last updated 2 years ago
Was this helpful?
$ ionic cordova plugin add cordova-plugin-powermanagement $ npm install @awesome-cordova-plugins/power-management
Plugin Repo:
A Cordova plugin that 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.
Android
iOS