Debian Codegraph @

data/org.freedesktop.portal.PowerProfileMonitor.xml

raw
1 <?xml version="1.0"?>
2 <!--
3 Copyright (C) 2021 Red Hat, Inc.
4
5 SPDX-License-Identifier: LGPL-2.1-or-later
6
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Lesser General Public
9 License as published by the Free Software Foundation; either
10 version 2.1 of the License, or (at your option) any later version.
11
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Lesser General Public License for more details.
16
17 You should have received a copy of the GNU Lesser General Public
18 License along with this library. If not, see <http://www.gnu.org/licenses/>.
19
20 Authors: Bastien Nocera <[email protected]>
21 -->
22 <node name="/" xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
23 <!--
24 org.freedesktop.portal.PowerProfileMonitor:
25 @short_description: Power Profile monitoring portal
26
27 The Power Profile Monitor interface provides information about the
28 user-selected system-wide power profile, to sandboxed applications.
29 It is not a portal in the strict sense, since it does not involve
30 user interaction. Applications are expected to use this interface
31 indirectly, via a library API such as the GLib GPowerProfileMonitor interface.
32
33 This documentation describes version 1 of this interface.
34 -->
35 <interface name="org.freedesktop.portal.PowerProfileMonitor">
36 <!--
37 power-saver-enabled:
38
39 Whether “Power Saver” mode is enabled on the system.
40 -->
41 <property name="power-saver-enabled" type="b" access="read"/>
42
43 <property name="version" type="u" access="read"/>
44 </interface>
45 </node>