userspace:windows_power_management
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| userspace:windows_power_management [2013/10/21 11:36] – bobzbobz | userspace:windows_power_management [2021/08/23 10:37] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 32: | Line 32: | ||
| <code winst> | <code winst> | ||
| [Actions] | [Actions] | ||
| + | DefVar $shut_off_screen$ | ||
| + | DefVar $standby$ | ||
| + | |||
| + | Set $shut_off_screen$ = GetProductProperty(" | ||
| + | Set $standby$ = GetProductProperty(" | ||
| + | |||
| Message " | Message " | ||
| winbatch_powersave | winbatch_powersave | ||
| Line 37: | Line 43: | ||
| [Winbatch_powersave] | [Winbatch_powersave] | ||
| - | powercfg -change -monitor-timeout-ac | + | powercfg -change -monitor-timeout-ac |
| - | powercfg -change -standby-timeout-ac 0 | + | powercfg -change -standby-timeout-ac |
| + | </ | ||
| + | |||
| + | ==== control-file ==== | ||
| + | < | ||
| + | [Package] | ||
| + | version: 1 | ||
| + | depends: | ||
| + | incremental: | ||
| + | |||
| + | [Product] | ||
| + | type: localboot | ||
| + | id: powersaveoptions | ||
| + | name: Powersave Options | ||
| + | description: | ||
| + | advice: | ||
| + | version: 0 | ||
| + | priority: 0 | ||
| + | licenseRequired: | ||
| + | productClasses: | ||
| + | setupScript: | ||
| + | uninstallScript: | ||
| + | updateScript: | ||
| + | alwaysScript: | ||
| + | onceScript: | ||
| + | customScript: | ||
| + | userLoginScript: | ||
| + | |||
| + | [ProductProperty] | ||
| + | type: unicode | ||
| + | name: shut_off_screen | ||
| + | multivalue: False | ||
| + | editable: True | ||
| + | description: | ||
| + | values: [" | ||
| + | default: [" | ||
| + | |||
| + | [ProductProperty] | ||
| + | type: unicode | ||
| + | name: standby | ||
| + | multivalue: False | ||
| + | editable: True | ||
| + | description: | ||
| + | values: [" | ||
| + | default: ["0"] | ||
| </ | </ | ||
userspace/windows_power_management.1382348181.txt.gz · Last modified: (external edit)
