MacBook Pro中pmset restoredefaults 毫无作用
14.0 (23A344) m1 max mabook pro
[经过版主编辑]
14.0 (23A344) m1 max mabook pro
[经过版主编辑]
看来,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来禁止即可。
看来,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 毫无作用