applets/battery: support releasing app inhibitions
Motivation: see bug report
How to test:
- Build this together with the associated powerdevil MR
- Restart powerdevil:
pkill org_kde_powerde -u $UID; ~/kde/usr/lib/libexec/org_kde_powerdevil &
and the Plasma applet - Play a video and wait five seconds for the inhibition to appear
- Press the button
- Confirm computer automatically goes to sleep after the inactivity period set in power management settings even while video is still playing
Depends on powerdevil!353 (closed)
Edited by Natalie Clarius