https://blog.csdn.net/ohhh1988/article/details/51320759
方法1
查看自己电脑的休眠状态,改成25可以解决待机耗电的问题
pmset -g
1
以下是苹果电脑的几种休眠状态,
hibernatemode=0
by default is supported on desktops. The system will not back memory up to persistent storage. The system must wake from the contents of the memory (RAM). The system will lose context on power loss. Historically, this is plain old sleep.
sudo pmset -a hibernatemode 0
1
hibernatemode=3
by default is supported on portables or laptops. The system will store a copy of memory to persistent storage (the disk), and will power memory during sleep. The system will wake from memory, unless a power loss forces it to restore from disk image.
sudo pmset -a hibernatemode 3
1
hibernatemode=25
is only settable via pmset. The system will store a copy of memory to persistent storage (the disk), and will remove power to memory. The system will restore from disk image. If you want hibernation—slower sleeps, slower wakes, and better battery life you should use this setting.
sudo pmset -a hibernatemode 25
网友评论