-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathtlp-pd.policy
More file actions
73 lines (66 loc) · 2.56 KB
/
tlp-pd.policy
File metadata and controls
73 lines (66 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD polkit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/software/polkit/policyconfig-1.dtd">
<policyconfig>
<vendor>tlp-pd</vendor>
<vendor_url>https://github.com/linrunner/TLP/</vendor_url>
<!--
Only users with an active session are allowed to perform actions. This means
that the user is currently logged in, the session is unlocked and in use.
-->
<action id="org.freedesktop.UPower.PowerProfiles.switch-profile">
<description>Switch Power Profile</description>
<message>Privileges are required to switch profiles.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.freedesktop.UPower.PowerProfiles.hold-profile">
<description>Hold Power Profile</description>
<message>Privileges are required to hold profiles.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.freedesktop.UPower.PowerProfiles.release-profile">
<description>Hold Power Profile</description>
<message>Privileges are required to hold profiles.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.freedesktop.UPower.PowerProfiles.configure-battery-aware">
<description>Configure action</description>
<message>Privileges are required to configure battery-awareness.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
<allow_active>yes</allow_active>
</defaults>
</action>
<action id="org.freedesktop.UPower.PowerProfiles.sync-profile">
<description>Backend communicates a profile change.</description>
<message>Privileges are required for the notification.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
</action>
<action id="org.freedesktop.UPower.PowerProfiles.set-loglevel">
<description>Configure action</description>
<message>Privileges are required to configure loglevel.</message>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
</action>
</policyconfig>