GitHub repository: leohenning/KeepScreenOnPlugin
Description: cordova plugin so you can turn keep screen on Flag on and off from javascript