mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2025-12-20 02:00:03 +01:00
These fields do not start with an underscore. polkitd complains about them: polkitd[2017783]: skipping unknown tag <_description> at line 18 polkitd[2017783]: skipping unknown tag <_message> at line 19
32 lines
1 KiB
XML
32 lines
1 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">
|
|
|
|
<!--
|
|
Policy definitions for UPower
|
|
|
|
Copyright (c) 2008 David Zeuthen <david@fubar.dk>
|
|
Copyright (c) 2008-2010 Richard Hughes <richard@hughsie.com>
|
|
|
|
NOTE: If you make changes to this file, make sure to validate the file
|
|
using the polkit-policy-file-validate(1) tool. Changes made to this
|
|
file are instantly applied.
|
|
-->
|
|
|
|
<policyconfig>
|
|
<vendor>The UPower Project</vendor>
|
|
<vendor_url>http://upower.freedesktop.org/</vendor_url>
|
|
<icon_name>system-suspend</icon_name>
|
|
|
|
<action id="org.freedesktop.UPower.enable-charging-limit">
|
|
<description>Enable battery charging limit</description>
|
|
<message>Authentication is required to set battery charging start and end limit.</message>
|
|
<defaults>
|
|
<allow_inactive>no</allow_inactive>
|
|
<allow_active>yes</allow_active>
|
|
</defaults>
|
|
</action>
|
|
|
|
</policyconfig>
|