Skip to content

Commit 2a23802

Browse files
committed
fix(power saving): full path to toggledev
1 parent 812a8a7 commit 2a23802

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/playbook/Executables/AtlasModules/Scripts/ScriptWrappers/DisablePowerSaving.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ powercfg /setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00 4d
5454
powercfg /setactive scheme_current
5555

5656
Write-Host "Disabling power-saving ACPI devices..." -ForegroundColor Yellow
57-
& toggleDev.cmd -Disable '@("ACPI Processor Aggregator", "Microsoft Windows Management Interface for ACPI")' | Out-Null
57+
& "$([Environment]::GetFolderPath('Windows'))\AtlasModules\Scripts\toggleDev.cmd" -Disable '@("ACPI Processor Aggregator", "Microsoft Windows Management Interface for ACPI")' | Out-Null
5858

5959
Write-Host "Disabling network adapter power-saving..." -ForegroundColor Yellow
6060
$properties = Get-NetAdapter -Physical | Get-NetAdapterAdvancedProperty

0 commit comments

Comments
 (0)