Android: Device Screen not timing out with latest android System WEBVIEW
You can try to use this plugin:
https://github.com/EddyVerbruggen/Insomnia-PhoneGap-Plugin
window.plugins.insomnia.keepAwake() to keep the screen awakewindow.plugins.insomnia.allowSleepAgain() to allow sleep again