sleepPCHibernate

Utility.sleepPCHibernate(force, wake)

Parameters

force Boolean to force the computer to hibernate 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 hibernation mode. If force is true, other applications will have no say in the decision to hibernate. If wake is true, the computer will be allowed to wake up on Wake events.