public static bool Sleep() { return(PowerManagerInterop.SetSuspendState(false, false, false)); }
public bool SetSuspendState(bool hibernate, bool forceCritical, bool disableWakeEvent) { return(PowerManagerInterop.SetSuspendState(hibernate, forceCritical, disableWakeEvent)); }