cordova-plugin-powersavemode
v0.2.1
Published
Lean plugin to check if device is in power save mode
Downloads
10
Maintainers
Readme
Check for power saving mode
Lean plugin to check if device is in power save mode.
Supports:
- Android
- iOS
Usage
cordova.plugins.PowerSaveMode.isPowerSaveMode((flag) => {
if (flag) {
console.log('Device is in power save mode.');
}
});
Maintainer
- Julian Scheuchenzuber [email protected] (Android guy)
- Daniel Kliemsch [email protected] (iOS guy)