Powerdevil is not starting since Plasma 6.4

Hello,
on my Fedora 42 the plasma-powerdevil.service is not starting up. It was working before the update.
In my journalctl i found:

Jun 23 17:27:10 fedora systemd[2634]: plasma-powerdevil.service: Scheduled restart job, restart counter is at 1.
Jun 23 17:27:10 fedora systemd[2634]: Starting plasma-powerdevil.service - Powerdevil...
Jun 23 17:27:10 fedora (werdevil)[3260]: plasma-powerdevil.service: Failed to apply ambient capabilities (before UID change): Operation not permitted
Jun 23 17:27:10 fedora (werdevil)[3260]: plasma-powerdevil.service: Failed at step CAPABILITIES spawning /usr/libexec/org_kde_powerdevil: Operation not permitted
Jun 23 17:27:10 fedora systemd[2634]: plasma-powerdevil.service: Main process exited, code=exited, status=218/CAPABILITIES
Jun 23 17:27:10 fedora systemd[2634]: plasma-powerdevil.service: Failed with result 'exit-code'.
Jun 23 17:27:10 fedora systemd[2634]: Failed to start plasma-powerdevil.service - Powerdevil.

I deleted the parameter AmbientCapabilities=CAP_WAKE_ALARM in the service file and now it is working again. The think the parameter is new.

Is this a Bug in Fedora 42 or in KDE 6.4?

I also created an Bug 506062 – powerdevil is not starting since Plasma 6.4

Hi! That seems like a tricky one - for what it’s worth, based on the comments made during the merge request review, it looks like this may involve some coordination between Plasma and systemd versions by the distribution maintainers?