Commit graph

31 commits

Author SHA1 Message Date
Mario Limonciello
9dc15cef70 Add --driver-block and --action-block arguments
These will set the environment variables accordingly to block drivers
or actions from loading.
2024-04-03 19:55:41 +00:00
Mario Limonciello
acd40e54ca Distinguish differently between -v and -vv
Set the default log level to MESSAGE.
If launched with -v, upgrade to INFO.
If launched with -vv, upgrade to DEBUG.
2024-04-03 19:55:41 +00:00
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
Mario Limonciello
9f9f7ca7ac README.md: Add documentation to block driver or action loading 2024-02-15 00:36:59 +01:00
Mario Limonciello
126f7d3a54 README.md: Add documentation for panel power savings 2024-02-15 00:36:59 +01:00
Mario Limonciello
cf243d97db README.md: Clarify that multiple drivers can be loaded 2024-02-15 00:36:59 +01: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
Mario Limonciello
f1f927c280 Update README.md to match markdown.lint style 2024-01-15 06:46:49 +00:00
Prajna Sariputra
1b18784f12 README: Add documentation for the AMD P-State driver 2023-04-26 14:28:14 +02:00
Bastien Nocera
0005a190f0 README: Update README to mention EPB
See https://www.kernel.org/doc/html/v5.17/admin-guide/pm/intel_epb.html
2022-06-28 15:50:27 +02:00
Bastien Nocera
bd2d4202e8 README: Document how the Intel P-State driver works
It used to just tweak a single file, but it's now (unfortunately) complicated
enough that it needs to be documented.
2022-05-02 15:07:07 +02:00
Bastien Nocera
b9730ebc3c README: Add missing text from last commit 2022-01-31 11:23:01 +01:00
Bastien Nocera
6acc53daca README: Mention possible service conflicts
Mention problems with tlp's packaging in Fedora and Debian-derivatives.

See https://bugzilla.redhat.com/show_bug.cgi?id=2028701#c11
and https://github.com/linrunner/TLP/issues/564
2022-01-31 11:09:41 +01:00
Bastien Nocera
3375973baf README: Add some end-user documentation
Enough data to get started using the project.
2021-11-17 17:03:06 +01:00
Bastien Nocera
06af2327e4 README: Add mention of asusctl
See https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/issues/36
2021-10-04 15:11:18 +02:00
Bastien Nocera
3aca4e9d01 main: Check whether user is allowed to perform action
Check whether a particular user/D-Bus client is allowed to switch
or hold power profiles.

Closes: #47
2021-09-28 13:07:49 +02:00
Bastien Nocera
3fa5eafe57 README: Add mention of system76-power
Closes: #26
2021-08-06 18:42:15 +02:00
Bastien Nocera
417c830355 README: Mention degraded mode for testing 2021-08-05 15:11:40 +02:00
Bastien Nocera
c7b05fa240 README: Simplify testing section by using powerprofilesctl 2021-08-05 15:11:36 +02:00
Bastien Nocera
6dab356723 README: Remove extra backticks
We already surrounded the command with triple-backticks.
2021-08-05 15:06:52 +02:00
Bastien Nocera
eee63cba70 README: Simplify debug commands
Use -r and -v so we don't have to stop existing instances manually.
2021-07-27 13:07:12 +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
7b5321131a README: Some layout fixes 2020-09-14 13:42:21 +02:00
Bastien Nocera
35f0c41a63 README: Add slimbookbattery section
See https://twitter.com/davidgxxl/status/1305203186068848642 and
https://slimbook.es/tutoriales/aplicaciones-slimbook/100-slimbook-battery-3-app-optimizar-bateria-portatil#modo-avanzado
2020-09-14 13:03:32 +02:00
Bastien Nocera
b1e33ea10c README: Fix example command-line
Closes: #18
2020-09-14 10:42:20 +02:00
Bastien Nocera
baad70f81b README: Some editorial changes 2020-09-10 16:29:45 +02:00
Bastien Nocera
5404f4d46e README: Explain reason for existence 2020-09-04 16:19:46 +02:00
Bastien Nocera
a531044de4 main: Add fake performance driver 2020-08-12 15:31:54 +02:00
Bastien Nocera
2a1eaac709 README: Remove mention of accelerometers 2020-07-16 18:31:16 +02:00
Bastien Nocera
3c1eea8e67 README: Explain how to set the profile using gdbus 2020-07-16 17:36:32 +02:00
Bastien Nocera
4ea7c96949 power-profiles-daemon 2020-07-10 17:29:23 +02:00