I have a 2013 macair running High Sierra 10-20-8. With lid closed I loose battery power 50% over night. This is what I got from a terminal run.
owernap 0
-bash: powernap: command not found
macbook-air-2:~ stevecamp$ gpuswitch 2
-bash: gpuswitch: command not found
macbook-air-2:~ stevecamp$ disksleep 10
-bash: disksleep: command not found
macbook-air-2:~ stevecamp$ sleep 3 (sleep prevented by coreaudiod, coreaudiod)
-bash: syntax error near unexpected token `('
macbook-air-2:~ stevecamp$ autopoweroffdelay 28800
-bash: autopoweroffdelay: command not found
macbook-air-2:~ stevecamp$ hibernatemode 3
-bash: hibernatemode: command not found
macbook-air-2:~ stevecamp$ autopoweroff 1
-bash: autopoweroff: command not found
macbook-air-2:~ stevecamp$ ttyskeepawake 1
-bash: ttyskeepawake: command not found
macbook-air-2:~ stevecamp$ displaysleep 3
-bash: displaysleep: command not found
macbook-air-2:~ stevecamp$ acwake 0
-bash: acwake: command not found
macbook-air-2:~ stevecamp$ lidwake 1
-bash: lidwake: command not found
macbook-air-2:~ stevecamp$ macbook-air-2:
owernap 0
-bash: powernap: command not found
macbook-air-2:~ stevecamp$ gpuswitch 2
-bash: gpuswitch: command not found
macbook-air-2:~ stevecamp$ disksleep 10
-bash: disksleep: command not found
macbook-air-2:~ stevecamp$ sleep 3 (sleep prevented by coreaudiod, coreaudiod)
-bash: syntax error near unexpected token `('
macbook-air-2:~ stevecamp$ autopoweroffdelay 28800
-bash: autopoweroffdelay: command not found
macbook-air-2:~ stevecamp$ hibernatemode 3
-bash: hibernatemode: command not found
macbook-air-2:~ stevecamp$ autopoweroff 1
-bash: autopoweroff: command not found
macbook-air-2:~ stevecamp$ ttyskeepawake 1
-bash: ttyskeepawake: command not found
macbook-air-2:~ stevecamp$ displaysleep 3
-bash: displaysleep: command not found
macbook-air-2:~ stevecamp$ acwake 0
-bash: acwake: command not found
macbook-air-2:~ stevecamp$ lidwake 1
-bash: lidwake: command not found
macbook-air-2:~ stevecamp$ macbook-air-2: