Energy Saver Settings
Questions Addressed
- How do I set when my computer sleeps? How do I set when my computer sleeps?
- How do I set my Energy Saver settings? How do I set my Energy Saver settings?
In order for ChronoSync to function properly, we recommend users follow the following Energy Saver settings:
All of these settings can either be set with the command pmset or systemsetup, see man page for more details. pmset allows you to specify the settings when the computer is on battery -b, or charger -c, or -a for all.
man pmset man systemsetup
Portables
Overview:
- Power Adapter: Put the computer to sleep when it is inactive for: Never
- Wake for Ethernet network administrator access
How-to:
- From the Apple menu, select "System Preferences..."
- From the View menu, select "Energy Saver."
- Select "Power Adapter" from the "Settings for:" drop-down menu.
- Click the "Sleep" tab if it isn't already selected.
- To make changes, click the lock in the lower-left corner and authenticate with your IGPP username and password.
- Drag the "Put the computer to sleep when it is inactive for" slider to "Never."
- Click the "Options" tab if it isn't already selected.
- Check "Wake for Ethernet network administrator access"
To see the settings use the -get* flag,
sudo systemsetup -getcomputersleep sudo systemsetup -getdisplaysleep sudo systemsetup -getharddisksleep sudo systemsetup -getwakeonnetworkaccess sudo pmset -g
To set the settings use the -set flag
sudo systemsetup -setwakeonnetworkaccess on
same as
sudo pmset womp 1
sudo pmset -c displaysleep 30 disksleep 0 sleep 0 autorestart 1 sudo pmset -b displaysleep 5 disksleep 10 sleep 10
Desktops
Overview:
- Put the computer to sleep when it is inactive for: Never
- Check "Wake for Ethernet network administrator access"
- Check "Restart automatically after a power failure"
- Uncheck "Allow power button to sleep the computer"
How-to:
- From the Apple menu, select "System Preferences..."
- From the View menu, select "Energy Saver."
- Click the "Sleep" tab if it isn't already selected.
- To make changes, click the lock in the lower-left corner and authenticate with your IGPP username and password.
- Drag the "Put the computer to sleep when it is inactive for" slider to "Never."
- Click the "Options" tab if it isn't already selected.
- Check "Wake for Ethernet network administrator access"
- Check "Restart automatically after a power failure"
- Uncheck "Allow power button to sleep the computer"
sudo systemsetup -setwakeonnetworkaccess on sudo pmset -a displaysleep 30 disksleep 0 sleep 0 autorestart 1 sudo pmset repeat wakeorpoweron MTWRFSU 01:00:00
Desktops can be make more persistent in the event of unintentional remote shutdown or power failure with the following auto daily power-on settings
sudo pmset repeat wakeorpoweron MTWRFSU 01:00:00
To cancel daily auto power-on
pmset repeat cancel