- Add Step 0 guard: bail early if kernel's acer_wmi lacks predator_v4,
instead of looping forever on an impossible reboot
- Preserve other acer-wmi.conf options (dedup stale line, append) rather
than overwriting the whole file
- Try modprobe reload to activate predator_v4 live; reboot is now only
the fallback
- read -rp ... || answer=n so non-interactive runs survive set -e
- Set performance via powerprofilesctl when power-profiles-daemon owns
the platform profile (fixes silent reset on AC/battery, persists);
raw sysfs write kept as fallback
- Check nvidia-powerd with is-active so a dead-but-enabled service starts
- Single nvidia-smi query reused; output reports actual EC max not a
hardcoded 60W
Validated end-to-end on the Nitro: predator_v4=Y, ppd=performance,
nvidia-powerd active, GPU at 60W.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Script to enable predator_v4 mode, set platform profile to performance,
and enable nvidia-powerd for Dynamic Boost on Acer Nitro/Predator laptops.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>