Difference between revisions of "Pmset"

From wikieduonline
Jump to navigation Jump to search
(Created page with " * {{macOS}}")
 
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{lc}}
  
 +
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 5; sudo pmset -b disablesleep 0
 +
 +
== Related ==
 +
* [[systemsetup]]
 +
* [[Standby]]
 +
 +
== See also ==
 +
* {{pmset}}
 
* {{macOS}}
 
* {{macOS}}

Latest revision as of 10:43, 27 May 2024

Advertising: