HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/share/zsh/functions/Completion/BSD/_powerd
#compdef powerd

local powerd_mode
powerd_mode=(minimum maximum adaptative)
_arguments -s \
  "-a+[mode to use while on AC power]:mode:($powerd_mode)" \
  "-b+[mode to use while on battery power]:mode:($powerd_mode)" \
  '-i+[CPU idle percent level when begin to degrade performance]:percent [75]' \
  '-m+[minimum frequency to throttle down to]:frequency (MHz)' \
  '-M+[maximum frequency to throttle up to]:frequency (MHz)' \
  "-n+[mode to use normally when the AC line state is unknown]:mode:($powerd_mode)" \
  '-p+[polling interval for AC line state and system idle levels]:interval (ms) [250]:' \
  '-P+[alternative pidfile]:pidfile:_files' \
  '-r+[CPU idle percent level where to increase performance]:percent' \
  '-v[verbose mode]'