UBTECH Alpha Servos UBT-12HC icon UBTECH Alpha Servos UBT-12HC Control UBTECH Alpha UBT-12HC smart servos via ARC using EZ-B v4/IoTiny UART, assign virtual ports, set baud, custom bits and position mapping. Try it →
 

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.