> ## Documentation Index
> Fetch the complete documentation index at: https://docs.getprimo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Power management

> Set when managed Macs and their displays sleep, how they wake, Power Nap and a power schedule.

The Power management control sets when your Macs and their displays sleep, plugged in and on battery, their wake and restart options, Power Nap, and a schedule to start up or wake them and to put them to sleep, shut them down or restart them.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls**, open **Power management**, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all macOS devices, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the Mac keeps its own setting.

## Settings

### Sleep timers

Each timer is in minutes, from 0 to 180. `0` means never.

| Setting | Applies to |
| - | - |
| **Display sleep, plugged in** | Desktops and laptops on AC |
| **Display sleep, on battery** | Laptops on battery |
| **Computer sleep, plugged in** | Desktops and laptops on AC |
| **Computer sleep, on battery** | Laptops on battery |
| **Disk sleep, plugged in** | Desktops and laptops on AC |
| **Disk sleep, on battery** | Laptops on battery |

### Options

Each option is **On**, **Off** or **Not configured**:

* **Wake for network access**
* **Start up automatically after a power failure**
* **Prevent the Mac from sleeping**
* **Hide the Sleep button on the login window**
* **Power Nap**

### Scheduled start and Scheduled stop

| Setting | Scheduled start | Scheduled stop |
| - | - | - |
| **Action** | **Wake**, **Start up**, **Wake or start up** | **Sleep**, **Shut down**, **Restart** |
| **Days** | At least one day of the week | At least one day of the week |
| **Time** | 24-hour time, HH:MM, such as `08:00` | 24-hour time, HH:MM |

Leave **Action** on **Not configured** to set no schedule.

> [!NOTE]
>
> Apple documents this schedule as the Energy Saver schedule of desktop Macs: a
> laptop may not apply it.

## How it works

Primo deploys a configuration profile with an Energy Saver payload for the sleep timers, the wake and restart options, **Prevent the Mac from sleeping** and the schedule, and a Login Window payload for **Hide the Sleep button on the login window**. It only includes the payloads whose settings you configured.

**Power Nap** has no profile setting: Primo sets it with a script, which keeps the Mac's own Power Nap values and puts them back when you set **Power Nap** to **Not configured** or remove the configuration. A configuration with only **Power Nap** deploys no profile.

> [!WARNING]
>
> When you remove the configuration, the Mac keeps the display, computer and
> disk sleep timers it took from it. Primo cancels the schedule the
> configuration set.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace the configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Password and screenlock](https://docs.getprimo.com/mdm/policies/password-policy.md)
* [Automatic OS updates](https://docs.getprimo.com/mdm/policies/automatic-updates.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.