This module allows you to control the power settings of a windows minion via powercfg.
2015.8.0 新版功能.
monitor:
powercfg.set_timeout:
- value: 30
- power: dc
salt.states.win_powercfg.
set_timeout
(name, value, power='ac')¶Set the sleep timeouts of specific items such as disk, monitor.
CLI Example:
monitor:
powercfg.set_timeout:
- value: 30
- power: dc
disk:
powercfg.set_timeout:
- value: 12
- power: ac