cordova-android-stayawake
=========
A small library providing utility methods to disable
screen timeout for that particular application thus enable it to stay awake.
- Support only android.
cordova plugin add https://github.com/rootzoll/cordova-android-stayawake
In the index.html include :
<script src="StayAwake.js"></script>
provides you the following two scripts:
StayAwake.disableScreenTimeout();
StayAwake.enableScreenTimeout();
Just use when device is ready.