J. Brandt Buckley updated June 17, 2009 at 5:00 AM
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.
Code Block |
---|
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
...
- 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,
Code Block |
---|
sudo systemsetup -getcomputersleep
sudo systemsetup -getdisplaysleep
sudo systemsetup -getharddisksleep
sudo systemsetup -getwakeonnetworkaccess
sudo pmset -g |
To set the settings use the -set flag
Code Block |
---|
sudo systemsetup -setwakeonnetworkaccess on |
same as
Code Block |
---|
sudo pmset womp 1 |
Code Block |
---|
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"
...
- 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"
Code Block |
---|
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
Code Block |
---|
sudo pmset repeat wakeorpoweron MTWRFSU 01:00:00 |
To cancel daily auto power-on
Code Block |
---|
pmset repeat cancel |