this is a modification to the MainActivity

Code:

getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);//disables screen timeout
        // getWindow().clearFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON); // reenable screen timeout


the screen doesn't go black and close the phone on timeout
I think maybe reenable this if the power is to low

:LF: