Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

planetf1

macrumors 6502a
Original poster
Aug 8, 2014
566
211
Hampshire, UK
I hav a macbook pro 15" 2016 TouchBar. I'm pretty new to macos, having only had the unit 2 months, though very familar with linux, windows etc.

I found that each morning (connected to powered USB-C monitor) the mac shut down - ie login would do a full bootup, relaunch apps.

I tried setting autopoweroff=0, sleep=12 (12 minutes), standbydelay=10800 (3 hours), hibernatemode=25 (disk), yet just popped out for a 15 min coffee, and on return the mac appeared to have gone into disk hibernation. This took around 10s+ to resume, so not a restart, but it didn't seem a memory resume. So it looked like a hibernate (to disk, as I'd requested). But why after 12 mins, this is what I wanted after 3 hours.

I'm on the high sierra beta so it could well be a bug, though I gather this area has been problematic for multiple releases. And there was me thinking such issues were just windows (and actually things tended to work there in latter years!)

Looking at the log from pmset -g log I see:
2017-10-18 11:04:19 +0100 Sleep Entering Sleep state due to 'Idle Sleep':TCPKeepAlive=active Using AC (Charge:100%) 167 secs

then
2017-10-18 11:07:06 +0100 Wake Wake from Standby [CDNVA] due to EC.DarkPME/Maintenance: Using AC (Charge:100%)

2017-10-18 11:07:06 +0100 HibernateStats hibmode=25 standbydelay=10800

Is it sleep? is it standby? Who knows given the mixed terms used in the log

I also see an entry just below
2017-10-18 11:07:06 +0100 Kernel Client Acks Delays to Wake notifications: [UPSB driver is slow(msg: SetState to 2)(540 ms)] [UPSB driver is slow(msg: SetState to 2)(542 ms)] [IGPU

driver is slow(msg: SetState to 2)(557 ms)] [HDEF driver is slow(msg: SetState to 2)(557 ms)] [HDAU driver is slow(msg: SetState to 2)(551 ms)] [GFX0 driver is slow(msg: SetState to 2)

(556 ms)] [AMDFramebufferVIB driver is slow(msg: WillChangeState to 1)(430 ms)] [AppleHDAHDMI_DPDriver driver is slow(msg: SetState to 1)(334 ms)] [AppleHDADriver driver is slow(msg: S

etState to 1)(488 ms)] [XHC2 driver is slow(msg: SetState to 2)(651 ms)] [AMDFramebufferVIB driver is slow(msg: SetState to 1)(368 ms)] [AppleIntelFramebuffer driver is slow(msg: SetSt

ate to 2)(942 ms)]

Slow? Hmmm. well it definately took a while (many seconds) to get back to normal, more than I'd have thought a ram sleep to take. I guess I'll find out now I now longer have hibernatemode on 25.

Any tips?

I've included my full settings as they are right now below (ie after changing hibernate mode from 25 to 0)
11:08 $ sudo pmset -g custom

Password:

Battery Power:

lidwake 1

autopoweroff 0

autopoweroffdelay 64800

standbydelay 3600

standby 1

ttyskeepawake 1

hibernatemode 0

powernap 0

gpuswitch 2

hibernatefile /var/vm/sleepimage

displaysleep 3

sleep 12

tcpkeepalive 1

halfdim 1

acwake 0

lessbright 1

disksleep 10

AC Power:

lidwake 1

autopoweroff 0

autopoweroffdelay 64800

standbydelay 10800

standby 1

ttyskeepawake 1

hibernatemode 0

powernap 1

gpuswitch 2

hibernatefile /var/vm/sleepimage

displaysleep 8

womp 1

networkoversleep 0

sleep 12

tcpkeepalive 1

halfdim 1

acwake 0

disksleep 10
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.