I\'ve written a small game, that is only controlled via some sensors. There is no touchscreninput or something similar.
The problem is, that after a few seconds of g
use this code in the your game's Activity as first line in the onCreate() after the super call:
this.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
This will result in the System handling the screen for you.
Best wishes, Tim