Set Wifi Powersave to Maximum Performance on AC/Battery for laptops

This commit is contained in:
Adam Goldsmith 2021-09-13 20:03:44 -04:00
parent ee321c0174
commit 2a99dd6354
2 changed files with 8 additions and 0 deletions

View File

@ -1,4 +1,6 @@
base: base:
'G@os:Windows and TSMS-Laptop*':
- windowsLaptop
'G@os:Windows and ( TSMS-Laptop* or TSMS-Desktop12 )': 'G@os:Windows and ( TSMS-Laptop* or TSMS-Desktop12 )':
- shopbot - shopbot
# Laptops 1-4 and Desktop 12 # Laptops 1-4 and Desktop 12

6
windowsLaptop.sls Normal file
View File

@ -0,0 +1,6 @@
"Set Wifi Powersave to Maximum Performance on Battery":
cmd.run:
- name: "powercfg /SETDCVALUEINDEX SCHEME_CURRENT 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0"
"Set Wifi Powersave to Maximum Performance on AC":
cmd.run:
- name: "powercfg /SETACVALUEINDEX SCHEME_CURRENT 19cbb8fa-5279-450e-9fac-8a3d5fedd0c1 12bbebe6-58d6-4636-95bb-3217ef867c1a 0"