summarylogtreecommitdiffstats
path: root/com.ubuntu.indicator.policy.in.patch
blob: f6b356b5d39847de898872421a5c9812666ea1cd (plain)
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
--- indicator_cpufreq/com.ubuntu.indicatorcpufreq.policy.in	2014-12-27 02:48:58.330816000 +0900
+++ indicator_cpufreq/com.ubuntu.indicatorcpufreq.policy.in	2014-12-27 02:29:19.809678757 +0900
@@ -13,13 +13,55 @@
   <vendor_url>https://launchpad.net/indicator-cpufreq</vendor_url>
   <icon_name>indicator-cpufreq</icon_name>
 
+  <action id="com.ubuntu.indicatorcpufreqselector.setthrottle">
+    <_description>Change device powersaving settings</_description>
+    <_message>System policy prevents you from changing system throttle.</_message>
+
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
   <action id="com.ubuntu.indicatorcpufreqselector.setfrequencyscaling">
     <_description>Change CPU frequency scaling</_description>
     <_message>System policy prevents you from changing CPU frequency scaling.</_message>
 
     <defaults>
       <allow_inactive>no</allow_inactive>
-      <allow_active>auth_admin_keep</allow_active>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
+  <action id="com.ubuntu.indicatorcpufreqselector.setpsturbo">
+    <_description>Change Intel P-State Turbo settings</_description>
+    <_message>System policy prevents you from changing P-State Turbo.</_message>
+
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
+  <action id="com.ubuntu.indicatorcpufreqselector.sethyperthreads">
+    <_description>Change hyperthreading settings</_description>
+    <_message>System policy prevents you from changing hyperthreading.</_message>
+
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
     </defaults>
   </action>
+
+  <action id="com.ubuntu.indicatorcpufreqselector.setgputhrottle">
+    <_description>Change GPU throttle settings</_description>
+    <_message>System policy prevents you from changing GPU throttle.</_message>
+
+    <defaults>
+      <allow_inactive>no</allow_inactive>
+      <allow_active>yes</allow_active>
+    </defaults>
+  </action>
+
+
 </policyconfig>