How to check for "autopoweroff" option on a non-active profile? I would like to check the value of autopoweroff and autopoweroffdelay settings for the "Battery Power" profile while running "AC Power" profile (precisely regardless of what profile is currently active).

The pmset -g command returns only values for the current profile and -b option (apply the settings to battery) works only for setting the options not reading them (cannot be used with -g).

Is there any other way/command that would allow checking the values?
According to the manual pmset -g custom displays "custom settings for all power sources". It seems those "custom settings" are in fact all settings as displayed by pmset -g for current profile:

# pmset -g custom
Battery Power:
 lidwake              1
 autopoweroff         0
 autopoweroffdelay    14400
 standbydelay         10800
 standby              1
 ttyskeepawake        1
 hibernatemode        3
 powernap             0
 gpuswitch            2
 hibernatefile        /var/vm/sleepimage
 displaysleep         2
 sleep                1
 acwake               0
 halfdim              1
 lessbright           1
 disksleep            10
AC Power:
 lidwake              1
 autopoweroff         0
 autopoweroffdelay    14400
 standbydelay         10800
 standby              1
 ttyskeepawake        1
 hibernatemode        3
 powernap             1
 gpuswitch            2
 hibernatefile        /var/vm/sleepimage
 womp                 0
 displaysleep         10
 networkoversleep     0
 sleep                0
 acwake               0
 halfdim              1
 disksleep            10




Alternatively the values can be checked by directly reading from /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

# cat /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist
&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"&gt;
&lt;plist version="1.0"&gt;
&lt;dict&gt;
    &lt;key&gt;ActivePowerProfiles&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;AC Power&lt;/key&gt;
        &lt;integer&gt;-1&lt;/integer&gt;
        &lt;key&gt;Battery Power&lt;/key&gt;
        &lt;integer&gt;-1&lt;/integer&gt;
    &lt;/dict&gt;
    &lt;key&gt;Custom Profile&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;AC Power&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;AutoPowerOff Delay&lt;/key&gt;
            &lt;integer&gt;14400&lt;/integer&gt;
            &lt;key&gt;AutoPowerOff Enabled&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
            &lt;key&gt;DarkWakeBackgroundTasks&lt;/key&gt;
            &lt;true/&gt;
            &lt;key&gt;Disk Sleep Timer&lt;/key&gt;
            &lt;integer&gt;10&lt;/integer&gt;
            &lt;key&gt;Display Sleep Timer&lt;/key&gt;
            &lt;integer&gt;10&lt;/integer&gt;
            &lt;key&gt;Display Sleep Uses Dim&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;GPUSwitch&lt;/key&gt;
            &lt;integer&gt;2&lt;/integer&gt;
            &lt;key&gt;Hibernate File&lt;/key&gt;
            &lt;string&gt;/var/vm/sleepimage&lt;/string&gt;
            &lt;key&gt;Hibernate Mode&lt;/key&gt;
            &lt;integer&gt;3&lt;/integer&gt;
            &lt;key&gt;PrioritizeNetworkReachabilityOverSleep&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
            &lt;key&gt;Standby Delay&lt;/key&gt;
            &lt;integer&gt;10800&lt;/integer&gt;
            &lt;key&gt;Standby Enabled&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;System Sleep Timer&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
            &lt;key&gt;TTYSPreventSleep&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;Wake On AC Change&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
            &lt;key&gt;Wake On Clamshell Open&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;Wake On LAN&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
        &lt;/dict&gt;
        &lt;key&gt;Battery Power&lt;/key&gt;
        &lt;dict&gt;
            &lt;key&gt;AutoPowerOff Delay&lt;/key&gt;
            &lt;integer&gt;14400&lt;/integer&gt;
            &lt;key&gt;AutoPowerOff Enabled&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
            &lt;key&gt;DarkWakeBackgroundTasks&lt;/key&gt;
            &lt;false/&gt;
            &lt;key&gt;Disk Sleep Timer&lt;/key&gt;
            &lt;integer&gt;10&lt;/integer&gt;
            &lt;key&gt;Display Sleep Timer&lt;/key&gt;
            &lt;integer&gt;2&lt;/integer&gt;
            &lt;key&gt;Display Sleep Uses Dim&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;GPUSwitch&lt;/key&gt;
            &lt;integer&gt;2&lt;/integer&gt;
            &lt;key&gt;Hibernate File&lt;/key&gt;
            &lt;string&gt;/var/vm/sleepimage&lt;/string&gt;
            &lt;key&gt;Hibernate Mode&lt;/key&gt;
            &lt;integer&gt;3&lt;/integer&gt;
            &lt;key&gt;ReduceBrightness&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;Standby Delay&lt;/key&gt;
            &lt;integer&gt;10800&lt;/integer&gt;
            &lt;key&gt;Standby Enabled&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;System Sleep Timer&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;TTYSPreventSleep&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
            &lt;key&gt;Wake On AC Change&lt;/key&gt;
            &lt;integer&gt;0&lt;/integer&gt;
            &lt;key&gt;Wake On Clamshell Open&lt;/key&gt;
            &lt;integer&gt;1&lt;/integer&gt;
        &lt;/dict&gt;
    &lt;/dict&gt;
    &lt;key&gt;SystemPowerSettings&lt;/key&gt;
    &lt;dict&gt;
        &lt;key&gt;DestroyFVKeyOnStandby&lt;/key&gt;
        &lt;true/&gt;
    &lt;/dict&gt;
&lt;/dict&gt;
&lt;/plist&gt;