先在終端機輸入
pmset -g assertions
然後看看後面數字是1的前方字串代表著是哪個程序一直不讓你的Mac睡覺。
舉例來說
$ pmset -g assertions
7/11/12 10:45:33 PM PDT
Assertion status system-wide:
PreventUserIdleDisplaySleep 0
CPUBoundAssertion 0
DisableInflow 0
ChargeInhibit 0
PreventSystemSleep 0
PreventUserIdleSystemSleep 1
NoIdleSleepAssertion 1
ExternalMedia 0
DisableLowPowerBatteryWarnings 0
EnableIdleSleep 1
NoRealPowerSources_debug 0
UserIsActive 0
ApplePushServiceTask 0
Listed by owning process:
pid 1827: [0x000000bb012c01f1] PreventUserIdleSystemSleep named: "com.apple.audio.'AppleHDAEngineOutput:1B,0,1,1:0'.noidlesleep"
你會發現"sleep whien idle"這功能已被取消,所以mac會睡不著~
然後Listed by owning process秀出了com.apple.audio是造成
PreventUserIdleSystemSleep這個屬性是1,也就是睡不著的原因。
那為何com.apple.audio會讓mac睡不著咧?因為iTunes正在放著音樂…
如果還是有其它排除不了睡不著的原因,至少以上的檢查方式可以讓你了解由哪裡
開始檢查。一般來說,mac睡覺的問題,會跟硬體或電源管理程式有關,所以
SMC重置也許可以解決一些問題。
以上翻譯自OSX daily~ ^^
希望不會看不懂嘿
--
All Comments