stayAwake

abstract var stayAwake: Boolean?(source)

Keep the system awake instead of allowing it to sleep. Default is false.