mirror of
https://gitlab.freedesktop.org/upower/power-profiles-daemon.git
synced 2026-05-15 00:38:08 +02:00
This is done by designating all drivers as CPU drivers or platform drivers. One of each driver can be active at any given time. When setting an active profile CPU driver is set first as this is less likely to have failures. If failures occur setting the platform driver then the CPU driver is undone. If both profiles are degraded then the string for the reason from both drivers will be comma separated to be compatible with existing API and users. This is leveraged from https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/123 Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/107 Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/125 Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/124 Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/122 Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/129 Fixes: https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/issues/131
90 lines
2.7 KiB
XML
90 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
|
|
<!ENTITY version SYSTEM "version.xml">
|
|
]>
|
|
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
|
|
<bookinfo>
|
|
<title>Power Profiles daemon Reference Manual</title>
|
|
<releaseinfo>Version &version;</releaseinfo>
|
|
<authorgroup>
|
|
<author>
|
|
<firstname>Bastien</firstname>
|
|
<surname>Nocera</surname>
|
|
<affiliation>
|
|
<address>
|
|
<email>hadess@hadess.net</email>
|
|
</address>
|
|
</affiliation>
|
|
</author>
|
|
</authorgroup>
|
|
|
|
<copyright>
|
|
<year>2020</year>
|
|
<holder>Red Hat, Inc.</holder>
|
|
</copyright>
|
|
|
|
<legalnotice>
|
|
<para>
|
|
Permission is granted to copy, distribute and/or modify this
|
|
document under the terms of the <citetitle>GNU Free
|
|
Documentation License</citetitle>, Version 1.1 or any later
|
|
version published by the Free Software Foundation with no
|
|
Invariant Sections, no Front-Cover Texts, and no Back-Cover
|
|
Texts. You may obtain a copy of the <citetitle>GNU Free
|
|
Documentation License</citetitle> from the Free Software
|
|
Foundation by visiting <ulink type="http"
|
|
url="http://www.fsf.org">their Web site</ulink> or by writing
|
|
to:
|
|
|
|
<address>
|
|
The Free Software Foundation, Inc.,
|
|
<street>59 Temple Place</street> - Suite 330,
|
|
<city>Boston</city>, <state>MA</state> <postcode>02111-1307</postcode>,
|
|
<country>USA</country>
|
|
</address>
|
|
</para>
|
|
|
|
<para>
|
|
Many of the names used by companies to distinguish their
|
|
products and services are claimed as trademarks. Where those
|
|
names appear in any GNOME documentation, and those trademarks
|
|
are made aware to the members of the GNOME Documentation
|
|
Project, the names have been printed in caps or initial caps.
|
|
</para>
|
|
</legalnotice>
|
|
</bookinfo>
|
|
|
|
<reference id="ref-dbus">
|
|
<title>D-Bus API Reference</title>
|
|
<partintro>
|
|
<para>
|
|
This part documents the D-Bus interface used to access the
|
|
Power Profiles daemon.
|
|
</para>
|
|
</partintro>
|
|
<xi:include href="docs-net.hadess.PowerProfiles.xml"/>
|
|
</reference>
|
|
|
|
<reference id="internal-api">
|
|
<title>Internal API</title>
|
|
<xi:include href="xml/ppd-profile.xml"/>
|
|
<xi:include href="xml/ppd-driver.xml"/>
|
|
<xi:include href="xml/ppd-driver-cpu.xml"/>
|
|
<xi:include href="xml/ppd-driver-platform.xml"/>
|
|
<xi:include href="xml/ppd-action.xml"/>
|
|
</reference>
|
|
|
|
<index>
|
|
<title>Index</title>
|
|
</index>
|
|
|
|
<!-- License -->
|
|
|
|
<appendix id="license">
|
|
<title>License</title>
|
|
<para>
|
|
<programlisting><xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="../COPYING" parse="text"><xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback></xi:include></programlisting>
|
|
</para>
|
|
</appendix>
|
|
</book>
|