Managing the power settings of the device can be useful when running apps that do not require constant interaction and manage how the device should fall into sleep mode.
Device.Power.KeepAwake
Make sure that the device never turns the screen off or goes into sleep mode.
Parameters:
None
Return values:
None
Outlets:
Done - Always called
Device.Power.Release
Releases the lock that prevented the device from turning the screen off.
Parameters:
None
Return values:
None
Outlets:
Done - Always called
You can always use your own custom JavaScript code to manipulate the power management of the device.
For power management Aquro is using the cordova-plugin-powermanagement plugin.
More info: https://github.com/cranberrygame/cordova-plugin-powermanagement