mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2025-12-20 05:40:07 +01:00
This will allow DE environments to decide whether they want to allow actions and profiles to dynamically change from the battery level or AC adapter presence.
51 lines
1.7 KiB
XML
51 lines
1.7 KiB
XML
<?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.0/policyconfig.dtd">
|
|
|
|
<policyconfig>
|
|
|
|
<vendor>power-profiles-daemon</vendor>
|
|
<vendor_url>https://gitlab.freedesktop.org/hadess/power-profiles-daemon</vendor_url>
|
|
|
|
<action id="org.freedesktop.UPower.PowerProfiles.switch-profile">
|
|
<description>Switch Power Profile</description>
|
|
<message>Privileges are required to switch power 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 power 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-action">
|
|
<description>Configure action</description>
|
|
<message>Privileges are required to configure actions.</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>
|
|
|
|
</policyconfig>
|