screenSleep

fun screenSleep(mins: Float): Int

Sets the time at which the display will enter sleep mode

Return

Const.EXECUTE_COMPLETE - function completed

Const.INCORRECT_VALUE - The specified value is not supported by the function. Function failed

Parameters

mins

Time in minutes.

All values:

"1" - 1 minute

"2" - 2 minutes

"5" - 5 minutes

"10" - 10 minutes

"30" - 30 minutes