shutdownDevice

fun shutdownDevice(mode: String): Int

Shutdown device

Return

Const.EXECUTE_COMPLETE - function completed

Const.VALUE_IS_EMPTY - The specified value is empty. Function failed

Parameters

mode

userrequested, battery