Function OSSingleton.keepScreenOn

If true, the engine tries to keep the screen on while the game is running. Useful on mobile.

bool keepScreenOn() nothrow @property @nogc;

void keepScreenOn (
  bool v
) nothrow @property @nogc;