Comment on page
$ ionic cordova plugin add cordova-plugin-power-optimization
$ npm install @awesome-cordova-plugins/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.