Skip to content

Commit

Permalink
fix(power saving): full path to toggledev
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Jun 15, 2024
1 parent 812a8a7 commit 2a23802
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ powercfg /setacvalueindex scheme_current 54533251-82be-4824-96c1-47b60b740d00 4d
powercfg /setactive scheme_current

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

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

0 comments on commit 2a23802

Please sign in to comment.