MacBook Pro中pmset restoredefaults 毫无作用

14.0 (23A344) m1 max mabook pro



[经过版主编辑]

发布日期 2024年9月13日 下午8:41

回复
问题被标记为 排名最靠前的回复

发布日期 2024年9月15日 上午8:20

看来,restoredefaults只涉及battery、charger和UPS三个方面的设置

英文说的是:

pmset can modify the values of any of the power management settings defined below. You may specify one or more setting & value pairs on the command-line invocation of pmset. The -a, -b, -c, -u flags determine
   whether the settings apply to battery ( -b ), charger (wall power) ( -c ), UPS ( -u ) or all ( -a ).


而SleepDisabled是System-Wide,在说明中没有出现过。

其实SleepDisabled这个在pmset的说明中没有涉及,属于隐藏的非公开的设置,至于为什么没有正式公开,一般来说或者它没有被正式支持,或者随时被取消,或者今后会被完善后公布,或者功能不稳定,或者只适用某种情况,或者不适合不推荐使用,等等。


至于使用,个人感觉不比纠结于此,就用disablesleep 0来禁止即可。

回复量:1
问题被标记为 排名最靠前的回复

2024年9月15日 上午8:20 回应 菜刀刘海

看来,restoredefaults只涉及battery、charger和UPS三个方面的设置

英文说的是:

pmset can modify the values of any of the power management settings defined below. You may specify one or more setting & value pairs on the command-line invocation of pmset. The -a, -b, -c, -u flags determine
   whether the settings apply to battery ( -b ), charger (wall power) ( -c ), UPS ( -u ) or all ( -a ).


而SleepDisabled是System-Wide,在说明中没有出现过。

其实SleepDisabled这个在pmset的说明中没有涉及,属于隐藏的非公开的设置,至于为什么没有正式公开,一般来说或者它没有被正式支持,或者随时被取消,或者今后会被完善后公布,或者功能不稳定,或者只适用某种情况,或者不适合不推荐使用,等等。


至于使用,个人感觉不比纠结于此,就用disablesleep 0来禁止即可。

这个主题已被系统或社区团队关闭。 你可以为你认为有帮助的任何帖子投票,也可以在社区中搜索其他答案。

MacBook Pro中pmset restoredefaults 毫无作用

欢迎来到 Apple 支持社区
Apple 客户在其产品方面互相帮助的论坛。使用您的 Apple 帐户开始畅游其中吧!!