mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 20:46:14 +01:00
docs: Move the GPowerProfileMonitor SECTION
Move it to the struct docs. Signed-off-by: Philip Withnall <philip@tecnocode.co.uk> Helps: #3037
This commit is contained in:
parent
d9e35c264b
commit
ca02613987
@ -32,15 +32,12 @@
|
|||||||
#include "gtask.h"
|
#include "gtask.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* SECTION:gpowerprofilemonitor
|
* GPowerProfileMonitor:
|
||||||
* @title: GPowerProfileMonitor
|
|
||||||
* @short_description: Power profile monitor
|
|
||||||
* @include: gio/gio.h
|
|
||||||
*
|
*
|
||||||
* #GPowerProfileMonitor makes it possible for applications as well as OS components
|
* `GPowerProfileMonitor` makes it possible for applications as well as OS
|
||||||
* to monitor system power profiles and act upon them. It currently only exports
|
* components to monitor system power profiles and act upon them. It currently
|
||||||
* whether the system is in “Power Saver” mode (known as “Low Power” mode on
|
* only exports whether the system is in “Power Saver” mode (known as
|
||||||
* some systems).
|
* “Low Power” mode on some systems).
|
||||||
*
|
*
|
||||||
* When in “Low Power” mode, it is recommended that applications:
|
* When in “Low Power” mode, it is recommended that applications:
|
||||||
* - disable automatic downloads;
|
* - disable automatic downloads;
|
||||||
@ -57,17 +54,9 @@
|
|||||||
* or activity at all), `sysprof` to inspect CPU usage, and `intel_gpu_time` to
|
* or activity at all), `sysprof` to inspect CPU usage, and `intel_gpu_time` to
|
||||||
* profile GPU usage.
|
* profile GPU usage.
|
||||||
*
|
*
|
||||||
* Don't forget to disconnect the #GPowerProfileMonitor::notify::power-saver-enabled
|
* Don’t forget to disconnect the [signal@GObject.Object::notify] signal for
|
||||||
* signal, and unref the #GPowerProfileMonitor itself when exiting.
|
* [property@Gio.PowerProfileMonitor:power-saver-enabled], and unref the
|
||||||
*
|
* `GPowerProfileMonitor` itself when exiting.
|
||||||
* Since: 2.70
|
|
||||||
*/
|
|
||||||
|
|
||||||
/**
|
|
||||||
* GPowerProfileMonitor:
|
|
||||||
*
|
|
||||||
* #GPowerProfileMonitor monitors system power profile and notifies on
|
|
||||||
* changes.
|
|
||||||
*
|
*
|
||||||
* Since: 2.70
|
* Since: 2.70
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user