因为有时os x系统sleep的时候会自动唤醒,隔一会再sleep,隔一会再自动唤醒,不断的切断硬件电源、再接通电源,等于一个夜里就重启100多次,mac的寿命可想而知
于是有了下面的研究、参数的测试、推荐的设置
Apple公司默认设定如下:
10分钟后关闭显示器、硬盘
1分钟后sleep
sleep 4小时后进入poweroff
sleep 3小时后进入standby
那么使用系统设置里的Energy Saver和pmset命令的区别在哪?
pmset modifies the same file that System Preferences Energy Saver modifies.
autopoweroff,man里有说明
the system will write a hibernation p_w_picpath and go into a lower power chipset sleep.
系统产生休眠文件,进入低耗电模式,关闭除内存外的硬件
The system will not auto power off if any external devices are connected, if the system is on battery power, or if the system is bound to a network and wake for network access is enabled.