From fb8d6140dd50005f21a3f0f4e92ea23c475df736 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Tue, 2 Apr 2024 03:27:42 +0200 Subject: [PATCH] refactor(macos): Do not mess with powersettings This is really weird to reset and the defaults are okay. --- macos/.macos | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/macos/.macos b/macos/.macos index 2269dd9..ea415ea 100644 --- a/macos/.macos +++ b/macos/.macos @@ -178,34 +178,34 @@ sudo systemsetup -settimezone "Europe/Berlin" > /dev/null ############################################################################### # Enable lid wakeup -sudo pmset -a lidwake 1 +# sudo pmset -a lidwake 1 # Restart automatically on power loss -sudo pmset -a autorestart 1 +# sudo pmset -a autorestart 1 # Restart automatically if the computer freezes -sudo systemsetup -setrestartfreeze on +# sudo systemsetup -setrestartfreeze on # Sleep the display after 15 minutes -sudo pmset -a displaysleep 15 +# sudo pmset -a displaysleep 15 # Disable machine sleep while charging -sudo pmset -c sleep 0 +# sudo pmset -c sleep 0 # Set machine sleep to 5 minutes on battery -sudo pmset -b sleep 5 +# sudo pmset -b sleep 5 # Set standby delay to 24 hours (default is 1 hour) -sudo pmset -a standbydelay 86400 +# sudo pmset -a standbydelay 86400 # Never go into computer sleep mode -sudo systemsetup -setcomputersleep Off > /dev/null +# sudo systemsetup -setcomputersleep Off > /dev/null # Hibernation mode # 0: Disable hibernation (speeds up entering sleep mode) # 3: Copy RAM to disk so the system state can still be restored in case of a # power failure. -sudo pmset -a hibernatemode 0 +# sudo pmset -a hibernatemode 0 # Remove the sleep image file to save disk space # sudo rm /private/var/vm/sleepimage