sleep the mac when logging sleep