const state = powerMonitor.getSystemIdleState(60); const idleSeconds = powerMonitor.getSystemIdleTime(); console.log({ state, idleSeconds });