<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">

<policyconfig>
  <vendor>[RnD]²</vendor>
  <vendor_url>https://rnd2.org</vendor_url>
  <icon_name>cpupower-gui</icon_name>
  <action id="org.rnd2.cpupower_gui.apply_runtime">
    <description>CPU frequency change with cpupower-gui</description>
    <message>Authentication is required to apply CPU frequency changes at runtime.</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>

  <action id="org.rnd2.cpupower_gui.apply_persist">
    <description>CPU frequency change with cpupower-gui</description>
    <message>Authentication is required to apply persistent CPU frequency changes</message>
    <defaults>
      <allow_any>no</allow_any>
      <allow_inactive>no</allow_inactive>
      <allow_active>auth_admin_keep</allow_active>
    </defaults>
  </action>
</policyconfig>

