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
NothingDescription
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.