Category filter

Configure energy saver settings on Mac with configuration profiles

The Energy Saver settings on Macs are crucial for managing power consumption and improving battery efficiency. Using Hexnode’s Deploy Custom Configuration feature, IT admins can deploy a configuration profile to configure energy saver settings on Macs. For instance, within an organization, the marketing team, who travel often or work remotely, can have settings that save battery power. On the other hand, the designs team, who use desktops and need high performance, can have settings that prioritize speed over saving energy. IT admins can configure different energy settings based on whether a device is running on AC power or battery with the help of this configuration profile.

Disclaimer:


The sample configuration profile provided below is adapted from third-party open-source sites.

Note:


This configuration profile is supported on macOS 10.7 and later.

Configure energy saver settings on Macs

The following key-value pairs are used in the provided configuration profile to configure energy saver settings on Macs.

Key Value Description
SleepDisabled Boolean Indicates if sleep mode is disabled on the device. Setting the value to false enables sleep mode on the Mac.
Automatic Restart On Power Loss Integer Indicates whether the system should restart automatically following a power loss. Setting the value to 1 will enable automatic restart in case of power loss, whereas setting it to 0 will disable this feature.
Disk Sleep Timer Integer Time in minutes before the disk goes to sleep. You can choose any integer between 0 and 180; a value of 0 means the disk will never enter sleep mode.
Display Sleep Timer Integer Time in minutes before the display enters sleep mode. You can choose any integer between 0 and 180; a value of 0 means the display will never enter sleep mode.
System Sleep Timer Integer Time in minutes before the system enters sleep mode. You can choose any integer between 0 and 180; a value of 0 means the system will never enter sleep mode.
Wake On LAN Integer Allowing the device to wake up from sleep upon receiving a network signal. When set to 1, the device can wake up from sleep upon receiving a network signal; setting it to 0 disables this capability.

These keys are represented in different dictionaries for energy saver settings, depending on the power source. The key values will stay consistent across all dictionaries.
The different dictionaries used are:

  1. desktop.ACPower: Settings when the device is connected to AC power on a desktop.
  2. portable.ACPower: Settings when the device is connected to AC power on a portable device.
  3. portable.BatteryPower: Settings when the device is on battery power.

What happens at the device end?

Upon deploying the configuration profile to Macs, the energy saver settings will be configured according to the provided configuration profile values, and the options will be greyed out.
You can verify this by navigating to System Settings > Lock Screen on macOS 13.6 and above.

Notes:

  • For macOS 12.6, the changes can be viewed in System Preferences > Battery.
  • For macOS 10.7 to 11.7, the changes can be viewed in System Preferences > Energy Saver.

The options to configure energy saver settings on Mac are greyed out

Notes:

  • To create and customize configuration profiles, you can use tools like Apple Configurator, Profile Manager or manually create them using text editors.
  • Use non-encrypted .mobileconfig, .xml, or plist files to deploy profiles across devices.
  • Ensure that you do not associate conflicting configurations with the devices.
  • Use wildcards to fetch key values from the portal.
  • It is recommended to manually validate the configuration profile on a system before executing it in bulk.
  • Hexnode will not be responsible for any damage/loss to the system on the behavior of the configuration profile.

How to configure Energy Saver settings on macOS devices via policy?

  • Configuration Profile Repository