awesome-cordova-plugins/docs/plugins/power-optimization/README.md

21 lines
718 B
Markdown
Raw Normal View History

2021-09-29 20:09:02 +08:00
# Power Optimization
```
$ ionic cordova plugin add cordova-plugin-power-optimization
2021-09-29 21:19:55 +08:00
$ npm install @awesome-cordova-plugins/power-optimization
2021-09-29 20:09:02 +08:00
```
2021-09-29 21:19:55 +08:00
## [Usage Documentation](https://danielsogl.gitbook.io/awesome-cordova-plugins/plugins/power-optimization/)
2021-09-29 20:09:02 +08:00
Plugin Repo: [https://github.com/snt1017/cordova-plugin-power-optimization](https://github.com/snt1017/cordova-plugin-power-optimization)
Android Custom Roms made sometimes your apps unfunctional due to being killed in the background, notification messages do not appearing or your services being killed by agressive power saving mode.
The Power Optimization plugin give you android PowerManager methods with cordova.
## Supported platforms
- Android
2021-09-29 20:38:45 +08:00