code: public static void setScreenOffTimeout(Context context, int millis) {
  		Settings.System.putInt(context.getContentResolver(), Settings.System.SCREEN_OFF_TIMEOUT, millis);
  	}
docs: @param context
  @param millis Time for screen to turn off. Setting this value to -1 will prohibit screen from turning off