美文网首页
更省电的休眠模式

更省电的休眠模式

作者: onbug | 来源:发表于2018-10-12 19:03 被阅读0次

    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

    相关文章

      网友评论

          本文标题:更省电的休眠模式

          本文链接:https://www.haomeiwen.com/subject/congaftx.html