mirror of
https://gitlab.postmarketos.org/postmarketOS/pmaports.git
synced 2025-07-24 15:25:13 +03:00
With systemd 275.x merged, this works as expected and also upstream changes for this is merged. So, let's enable this here to allow Alarm clock in Plasma Mobile e.g. to wake up device from suspend. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6509
17 lines
402 B
Desktop File
17 lines
402 B
Desktop File
[Unit]
|
|
Description=Powerdevil
|
|
PartOf=graphical-session.target
|
|
After=plasma-core.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/lib/libexec/org_kde_powerdevil
|
|
Type=dbus
|
|
BusName=org.kde.Solid.PowerManagement
|
|
TimeoutStopSec=5sec
|
|
Slice=background.slice
|
|
Restart=on-failure
|
|
AmbientCapabilities=CAP_WAKE_ALARM
|
|
|
|
# Temporary workaround for Powerdevil crashing while kwin_wayland restarts
|
|
Environment=POWERDEVIL_NO_DDCUTIL=1
|
|
|