Patch applied, available in the build repo:

sudo pacman -U http://kaosx.tk/repo/build/powerdevil-5.25.0-2-x86_64.pkg.tar.zst