在windows下除關(guān)機(jī)外還支持待機(jī)和休眠兩種“關(guān)機(jī)”模式??紤]到有人可能并不了解待機(jī)和休眠的區(qū)別,這里簡(jiǎn)單的介紹下。
1.待機(jī)
計(jì)算機(jī)在待機(jī)狀態(tài)時(shí),內(nèi)存中的信息未存入硬盤中,計(jì)算機(jī)可以被迅速喚醒。如果斷電,內(nèi)存數(shù)據(jù)將丟失無法常喚醒。
2.休眠
計(jì)算機(jī)在關(guān)閉前首先將內(nèi)存中的信息存入硬盤,喚醒時(shí)將硬盤上的數(shù)據(jù)重寫回內(nèi)存。休眠狀態(tài)下的喚醒速度比待機(jī)慢,好處是休眠后可以斷電。
在Mac中就只有睡眠一種待機(jī)模式了。默認(rèn)情況下Mac的睡眠相當(dāng)于windows的待機(jī)模式。雖然Mac mini的待機(jī)功耗非常低,不過長(zhǎng)期待機(jī)浪費(fèi)的電加起來也不少,對(duì)產(chǎn)品壽命也會(huì)有些影響。實(shí)際上Mac已經(jīng)提供了對(duì)休眠功能的支持,稍微做些設(shè)置即可將睡眠的默認(rèn)行為由“待機(jī)”改為“休眠”。
Mac的睡眠方式說明:
0.(quick): Default sleep behavior on most Apple computers. RAM is still powered on while
sleeping. Wake up is fast. Safe sleep is disabled.
1.(deep): Hibernation behavior. System is totally shut down while sleeping. RAM contents
are dumped to disk. Wake up is slow.
3.(safe): Default behavior on Powerbook HD and later computers. RAM is still powered
on while sleeping. Wake up is fast. Safe sleep is enabled, so RAM contents are
also dumped to disk before going to sleep.
5.(deep): Same as mode 1 for systems with encrypted virtual memory.
7.(safe): Same as mode 3 for systems with encrypted virtual memory
注: 我使用5的時(shí)候無法正常喚醒,因此不建議使用57
查看當(dāng)前的睡眠模式: pmset -g | grep hibernatemode
修改睡眠模式: sudo pmset -a hibernatemode X