ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

sleepPCSuspend

Utility.sleepPCSuspend(force, wake)

Parameters

force Boolean to force the computer to sleep or not. If true other applications have no say in the decision.
wake Boolean to allow the computer will wake up on Wake events or not.

Returns

Nothing

Description

Puts the computer in sleep mode. If force is true, other applications will have no say in the decision to sleep. If wake is true, the computer will be allowed to wake up on Wake events.