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:

  1. From the Apple menu, select "System Preferences..."
  2. From the View menu, select "Energy Saver."
  3. Select "Power Adapter" from the "Settings for:" drop-down menu.
  4. Click the "Sleep" tab if it isn't already selected.
  5. To make changes, click the lock in the lower-left corner and authenticate with your IGPP username and password.
  6. Drag the "Put the computer to sleep when it is inactive for" slider to "Never."
  7. Click the "Options" tab if it isn't already selected.
  8. 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:

  1. From the Apple menu, select "System Preferences..."
  2. From the View menu, select "Energy Saver."
  3. Click the "Sleep" tab if it isn't already selected.
  4. To make changes, click the lock in the lower-left corner and authenticate with your IGPP username and password.
  5. Drag the "Put the computer to sleep when it is inactive for" slider to "Never."
  6. Click the "Options" tab if it isn't already selected.
  7. Check "Wake for Ethernet network administrator access"
  8. Check "Restart automatically after a power failure"
  9. 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