getSystemIdleState
abstract fun getSystemIdleState(idleThreshold: Double): PowerMonitorGetSystemIdleStateResult(source)
The system's current idle state. Can be active
, idle
, locked
or unknown
.
Calculate the system idle state. idleThreshold
is the amount of time (in seconds) before considered idle. locked
is available on supported systems only.