Commit graph

14 commits

Author SHA1 Message Date
Mario Limonciello
65c774fa13 trivial: Don't suggest G_MESSAGES_DEBUG=all to debug
This gets glib debugging enabled, but instead --verbose should be
used to get power-profiles-daemon debugging.
2024-04-01 13:24:57 -05:00
Rahul Sundaram
cb77e0ad34 Update Systemd security settings 2024-03-26 20:32:10 +00:00
Marco Trevisan (Treviño)
3b29b0e52b cleanup: Use UPower namespace as default DBus name preserving old one
Expose the daemon as 'org.freedesktop.UPower.PowerProfiles' by default
but we also own the old 'net.hadess.PowerProfiles' name for
compatibility resons.

Also dbus objects are now registered also in the path
/org/freedesktop/UPower/PowerProfiles and they implement the
org.freedesktop.UPower.PowerProfiles interface.

Even in this case we preserve the compatibility with the old ones.

To make this switch as most reliable as possible, the code is now
generated for dbus configuration files preserving the previous ones as
base.

Tests are now performed checking both names, to ensure again that we're
not breaking the expectations for the old APIs consumers.
2024-02-13 20:44:29 +00:00
Marco Trevisan (Treviño)
520622ba70 data: Rename policykit policies to UPower namespace
We're part of UPower now so let's use the freedesktop standard namespace
2024-02-13 20:44:29 +00:00
Marco Trevisan (Treviño)
53115abf35 build: Bump meson requirement to 0.58
It's still quite old, but provides some features we may want to use in
future, so let's use a newer version since we're about to release a new
major version of p-p-d too.
2024-02-13 20:44:29 +00:00
Bastien Nocera
9d6e1735f3 data: Add polkit policy description
Describe and set defaults for switching and holding power profiles.
2021-09-28 12:55:59 +02:00
Bastien Nocera
3fa5eafe57 README: Add mention of system76-power
Closes: #26
2021-08-06 18:42:15 +02:00
Bastien Nocera
58cc0ef02b main: Implement profile persistence
Save the current user-selected profile in
/var/lib/power-profiles-daemon/state.ini

Closes: #23
2021-07-19 20:21:29 +02:00
Bastien Nocera
dfeeebc929 data: Tell service whether to restart 2020-09-09 13:50:48 +02:00
Bastien Nocera
27af826a71 data: Tell service when and how to start 2020-09-09 13:50:48 +02:00
Bastien Nocera
e8b9bc324c data: Also conflict with auto-cpufreq
As it might change the p-state configuration behind us.

See: 74c74b8cf9
2020-09-04 15:57:12 +02:00
Bastien Nocera
f65f3cddd5 data: Make service D-Bus activatable 2020-08-10 11:42:31 +02:00
Bastien Nocera
74c74b8cf9 data: Conflict with TLP and tuned
As they might end up touching the same configuration knobs.

Closes: #2
2020-08-06 16:38:31 +02:00
Bastien Nocera
4ea7c96949 power-profiles-daemon 2020-07-10 17:29:23 +02:00