Difference between revisions of "Pmset"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
https://apple.stackexchange.com/questions/298933/command-line-stop-macbook-from-sleeping-when-lid-is-closed
 
https://apple.stackexchange.com/questions/298933/command-line-stop-macbook-from-sleeping-when-lid-is-closed
 +
 +
Disable Sleeping when the [[lid]] is closed running on battery
 
  sudo pmset -b sleep 0; sudo pmset -b disablesleep 1
 
  sudo pmset -b sleep 0; sudo pmset -b disablesleep 1
  
 
  sudo pmset -b sleep 5; sudo pmset -b disablesleep 0
 
  sudo pmset -b sleep 5; sudo pmset -b disablesleep 0
  
 +
== Related ==
 +
* [[systemsetup]]
 +
* [[Standby]]
  
 
+
== See also ==
 
+
* {{pmset}}
 
* {{macOS}}
 
* {{macOS}}

Latest revision as of 10:43, 27 May 2024

Advertising: