Creo que he configurado correctamente mi MacBook Pro para hibernar (después de un retraso) cuando cierro la tapa, con lo siguiente settings
standbydelay 900
standby 1
halfdim 1
hibernatefile /var/vm/sleepimage
powernap 0
disksleep 0
sleep 1
autopoweroffdelay 28800
hibernatemode 25
autopoweroff 1
ttyskeepawake 0
displaysleep 2
acwake 0
lidwake 1
Sin embargo, no estoy seguro de que mi máquina esté hibernando como se esperaba y me gustaría poder confirmar que sí lo está.
¿Hay alguna manera de hacer esto?
He intentado cosas como
pmset -g log|grep -e " Sleep " -e " Wake " -e " DarkWake " | tail -n 5
lo que da, por ejemplo
2016-11-17 08:39:03 -0500 Wake Wake from Standby [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:93%) 1630 secs
2016-11-17 09:06:13 -0500 Sleep Entering Sleep state due to 'Idle Sleep': Using Batt (Charge:83%) 868 secs
2016-11-17 09:20:41 -0500 Wake Wake from Standby [CDNVA] due to EC.PME/User: Using BATT (Charge:83%) 462 secs
2016-11-17 09:28:23 -0500 Sleep Entering Sleep state due to 'Clamshell Sleep': Using Batt (Charge:80%) 4586 secs
2016-11-17 10:44:49 -0500 Wake Wake from Standby [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:79%)
y
pmset -g log | grep LidOpen | tail -n 5
que da
2016-11-16 18:10:07 -0500 Wake Wake from Deep Idle [CDNVA] due to EC.LidOpen/Lid Open: Using AC (Charge:35%) 95 secs
2016-11-16 18:27:04 -0500 Wake Wake from Deep Idle [CDNVA] due to EC.LidOpen/Lid Open: Using AC (Charge:53%) 675 secs
2016-11-17 07:50:59 -0500 Wake Wake from Deep Idle [CDNVA] due to EC.LidOpen/Lid Open: Using AC (Charge:100%) 174 secs
2016-11-17 08:39:03 -0500 Wake Wake from Standby [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:93%) 1630 secs
2016-11-17 10:44:49 -0500 Wake Wake from Standby [CDNVA] due to EC.LidOpen/Lid Open: Using BATT (Charge:79%)
o
pmset -g log | grep sleep | tail -n 5
que da
2016-11-17 09:28:10 -0500 Assertions PID 198(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context2626.preventuseridlesleep" 00:01:46 id:0x0x1000087fe [System: DeclUser SRPrevSleep kCPU kDisp]
2016-11-17 10:44:24 -0500 Assertions Kernel Idle sleep preventers: IODisplayWrangler
2016-11-17 10:54:12 -0500 Assertions PID 198(coreaudiod) Released PreventUserIdleDisplaySleep "com.apple.audio.context2629.preventuseridledisplaysleep" 00:09:04 id:0x0x500008862 [System: DeclUser kDisp]
2016-11-17 10:54:12 -0500 Assertions PID 198(coreaudiod) Released PreventUserIdleSystemSleep "com.apple.audio.context2629.preventuseridlesleep" 00:09:04 id:0x0x100008861 [System: DeclUser kDisp]
Idle sleep preventers: IODisplayWrangler
pero no estoy seguro de que alguno de estos sean los comandos correctos o cómo interpretar sus resultados.
¿Cómo confirmo (idealmente desde la línea de comandos) que mi Mac ha hibernado?