Skip to content

Commit

Permalink
Improve Powershell Script usage documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Falcosc committed May 16, 2021
1 parent f456a27 commit b19903e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions win32/readjustService.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ function doAdjust_ACmode {
adjust "fast_limit" 46000
adjust "slow_limit" 25000
#adjust "slow_time" 30
#adjust "tctl_temp" 95
#adjust "tctl_temp" 93
#adjust "apu_skin_temp_limit" 50
#adjust "vrmmax_current" 100000
#adjust "<any_other_field>" 1234
#replace any_other_field with additional adjustments. Name is equal to RyzenAdj options but it uses _ instead of -
#adjust "any_other_field" 1234

#custom code, for example set fan controll back to auto
#values (WriteRegister: 47, FanSpeedResetValue:128) extracted from similar devices at https://github.com/hirschmann/nbfc/blob/master/Configs/
Expand All @@ -55,7 +56,7 @@ function doAdjust_BatteryMode {
$Script:repeatWaitTimeSeconds = 10 #do less reapplies and less HWiNFO updates to save power
adjust "fast_limit" 26000
adjust "slow_limit" 10000
#adjust "<any_other_field>" 1234
#adjust "any_other_field" 1234

if($Script:dcSlider -eq $Script:betterBattery){
#put adjustments for energie saving slider position here: for example disable fan to save power
Expand Down

0 comments on commit b19903e

Please sign in to comment.