id: os_power_nap_enable
title: Enable Power Nap
discussion: |
  Power Nap _MUST_ be enabled.

  NOTE: Power nap can interfere with USB power and may cause devices such as smartcards to stop functioning until a reboot.

  The following Macs support Power Nap:

  * MacBook (Early 2015 and later)
  * MacBook Air (Late 2010 and later)
  * MacBook Pro (all models with Retina display)
  * Mac mini (Late 2012 and later)
  * iMac (Late 2012 and later)
  * Mac Pro (Late 2013 and later)
references:
  nist:
    cce:
      macos_26:
        - CCE-95261-4
      macos_15:
        - CCE-94258-1
      macos_14:
        - CCE-92854-9
platforms:
  macOS:
    '26.0': {}
    '15.0': {}
    enforcement_info:
      check:
        shell: /usr/bin/pmset -g custom | /usr/bin/awk '/powernap/ { sum+=$2 } END {print sum}'
        result:
          integer: 1
      fix:
        shell: /usr/bin/pmset -a powernap 1
