Skip to main content

Power Plan Script for 99% BeeLink

# Get the active power scheme GUID
$activePlanOutput = powercfg /getactivescheme
$activeGuid = ($activePlanOutput -split '\s+')[3]

Write-Host "Active Power Plan GUID: $activeGuid"

# GUID for Processor power management -> Maximum processor state
$maxProcStateGuid = "bc5038f7-23e0-4960-96da-33abaf5935ec"

# Set AC (Plugged In) maximum processor state to 99%
powercfg -setacvalueindex $activeGuid SUB_PROCESSOR $maxProcStateGuid 99

# Set DC (Battery) maximum processor state to 99%
powercfg -setdcvalueindex $activeGuid SUB_PROCESSOR $maxProcStateGuid 99

# Apply the changes by re-activating the current plan
powercfg -setactive $activeGuid

Write-Host "Maximum processor state successfully set to 99% for the active plan."