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)
check: |
  /usr/bin/pmset -g custom | /usr/bin/awk '/powernap/ { sum+=$2 } END {print sum}'
result:
  integer: 1
fix: |
  [source,bash]
  ----
  /usr/bin/pmset -a powernap 1
  ----
references:
  cce:
    - CCE-94258-1
  cci:
    - N/A
  800-53r5:
    - N/A
  800-53r4:
    - N/A
  disa_stig:
    - N/A
  srg:
    - N/A
  800-171r3:
    - N/A
  cis:
    benchmark:
      - N/A
    controls v8:
      - N/A
macOS:
  - '15.0'
tags:
  - none
mobileconfig: false
mobileconfig_info:
