Commit graph

16 commits

Author SHA1 Message Date
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