~ubuntu-branches/ubuntu/natty/upower/natty

« back to all changes in this revision

Viewing changes to doc/html/UPower-up-client.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-07-12 14:43:12 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20100712144312-mk9w8zlsw2cztdb7
Tags: 0.9.5-1
* New upstream release:
  - Dynamic testing for enough hibernate swap. (LP: #599352)
  - Port UPower to libusb1 to avoid unfixable crashes. (LP: #522827)
* debian/rules: Build a PO template during package build, for translation
  systems. (LP: #538321)
* debian/control: Switch libusb-dev build dependency to libusb-1.0-0-dev,
  and add libimobiledevice-dev to support the new backend.
* debian/control: Bump Standards-Version to 3.9.0; no changes necessary.
* Drop transitional devicekit-power-doc package. It's been in testing long
  enough, and we do not want to carry it into the squeeze release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="libupower-glib.html" title="libupower-glib GObjects">
9
9
<link rel="prev" href="libupower-glib.html" title="libupower-glib GObjects">
10
10
<link rel="next" href="UPower-up-device.html" title="up-device">
11
 
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
40
40
<pre class="synopsis">#define             <a class="link" href="UPower-up-client.html#UP-CLIENT-ERROR:CAPS" title="UP_CLIENT_ERROR">UP_CLIENT_ERROR</a>
41
41
#define             <a class="link" href="UPower-up-client.html#UP-CLIENT-TYPE-ERROR:CAPS" title="UP_CLIENT_TYPE_ERROR">UP_CLIENT_TYPE_ERROR</a>
42
42
                    <a class="link" href="UPower-up-client.html#UpClientPrivate" title="UpClientPrivate">UpClientPrivate</a>;
43
 
<span class="returnvalue">void</span>                <a class="link" href="UPower-up-client.html#device-added" title="device_added ()">device_added</a>                        (<span class="returnvalue">UpClient</span> *client,
44
 
                                                         <span class="returnvalue">UpDevice</span> *device);
45
 
<span class="returnvalue">void</span>                <a class="link" href="UPower-up-client.html#device-changed" title="device_changed ()">device_changed</a>                      (<span class="returnvalue">UpClient</span> *client,
46
 
                                                         <span class="returnvalue">UpDevice</span> *device);
47
 
<span class="returnvalue">void</span>                <a class="link" href="UPower-up-client.html#device-removed" title="device_removed ()">device_removed</a>                      (<span class="returnvalue">UpClient</span> *client,
48
 
                                                         <span class="returnvalue">UpDevice</span> *device);
49
 
<span class="returnvalue">void</span>                <a class="link" href="UPower-up-client.html#changed" title="changed ()">changed</a>                             (<span class="returnvalue">UpClient</span> *client);
50
 
<span class="returnvalue">UpClient</span> *          <a class="link" href="UPower-up-client.html#up-client-new" title="up_client_new ()">up_client_new</a>                       (void);
51
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-properties-sync" title="up_client_get_properties_sync ()">up_client_get_properties_sync</a>       (<span class="returnvalue">UpClient</span> *client,
52
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
53
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
54
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-enumerate-devices-sync" title="up_client_enumerate_devices_sync ()">up_client_enumerate_devices_sync</a>    (<span class="returnvalue">UpClient</span> *client,
55
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
56
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
57
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-suspend-sync" title="up_client_suspend_sync ()">up_client_suspend_sync</a>              (<span class="returnvalue">UpClient</span> *client,
58
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
59
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
60
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-about-to-sleep-sync" title="up_client_about_to_sleep_sync ()">up_client_about_to_sleep_sync</a>       (<span class="returnvalue">UpClient</span> *client,
61
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
62
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
63
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-hibernate-sync" title="up_client_hibernate_sync ()">up_client_hibernate_sync</a>            (<span class="returnvalue">UpClient</span> *client,
64
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
65
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);
66
 
<a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *         <a class="link" href="UPower-up-client.html#up-client-get-devices" title="up_client_get_devices ()">up_client_get_devices</a>               (<span class="returnvalue">UpClient</span> *client);
67
 
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="UPower-up-client.html#up-client-get-daemon-version" title="up_client_get_daemon_version ()">up_client_get_daemon_version</a>        (<span class="returnvalue">UpClient</span> *client);
68
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-can-hibernate" title="up_client_get_can_hibernate ()">up_client_get_can_hibernate</a>         (<span class="returnvalue">UpClient</span> *client);
69
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-lid-is-closed" title="up_client_get_lid_is_closed ()">up_client_get_lid_is_closed</a>         (<span class="returnvalue">UpClient</span> *client);
70
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-can-suspend" title="up_client_get_can_suspend ()">up_client_get_can_suspend</a>           (<span class="returnvalue">UpClient</span> *client);
71
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-on-battery" title="up_client_get_on_battery ()">up_client_get_on_battery</a>            (<span class="returnvalue">UpClient</span> *client);
72
 
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-on-low-battery" title="up_client_get_on_low_battery ()">up_client_get_on_low_battery</a>        (<span class="returnvalue">UpClient</span> *client);
 
43
<span class="returnvalue">void</span>                (<a class="link" href="UPower-up-client.html#device-added" title="device_added ()">*device_added</a>)                     (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
44
                                                         <em class="parameter"><code><span class="type">UpDevice</span> *device</code></em>);
 
45
<span class="returnvalue">void</span>                (<a class="link" href="UPower-up-client.html#device-changed" title="device_changed ()">*device_changed</a>)                   (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
46
                                                         <em class="parameter"><code><span class="type">UpDevice</span> *device</code></em>);
 
47
<span class="returnvalue">void</span>                (<a class="link" href="UPower-up-client.html#device-removed" title="device_removed ()">*device_removed</a>)                   (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
48
                                                         <em class="parameter"><code><span class="type">UpDevice</span> *device</code></em>);
 
49
<span class="returnvalue">void</span>                (<a class="link" href="UPower-up-client.html#changed" title="changed ()">*changed</a>)                          (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
50
<span class="returnvalue">UpClient</span> *          <a class="link" href="UPower-up-client.html#up-client-new" title="up_client_new ()">up_client_new</a>                       (<em class="parameter"><code><span class="type">void</span></code></em>);
 
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-properties-sync" title="up_client_get_properties_sync ()">up_client_get_properties_sync</a>       (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
53
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-enumerate-devices-sync" title="up_client_enumerate_devices_sync ()">up_client_enumerate_devices_sync</a>    (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-suspend-sync" title="up_client_suspend_sync ()">up_client_suspend_sync</a>              (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
58
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
59
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
60
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-about-to-sleep-sync" title="up_client_about_to_sleep_sync ()">up_client_about_to_sleep_sync</a>       (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
62
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
63
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-hibernate-sync" title="up_client_hibernate_sync ()">up_client_hibernate_sync</a>            (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
65
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
66
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *         <a class="link" href="UPower-up-client.html#up-client-get-devices" title="up_client_get_devices ()">up_client_get_devices</a>               (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
67
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       <a class="link" href="UPower-up-client.html#up-client-get-daemon-version" title="up_client_get_daemon_version ()">up_client_get_daemon_version</a>        (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
68
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-can-hibernate" title="up_client_get_can_hibernate ()">up_client_get_can_hibernate</a>         (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
69
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-lid-is-closed" title="up_client_get_lid_is_closed ()">up_client_get_lid_is_closed</a>         (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
70
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-can-suspend" title="up_client_get_can_suspend ()">up_client_get_can_suspend</a>           (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
71
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-on-battery" title="up_client_get_on_battery ()">up_client_get_on_battery</a>            (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
 
72
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="UPower-up-client.html#up-client-get-on-low-battery" title="up_client_get_on_low_battery ()">up_client_get_on_low_battery</a>        (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);
73
73
</pre>
74
74
</div>
75
75
<div class="refsect1" title="Description">
79
79
when it is changed.
80
80
</p>
81
81
<p>
82
 
See also: <span class="type">UpDevice</span></p>
 
82
See also: <span class="type">UpDevice</span>
 
83
</p>
83
84
</div>
84
85
<div class="refsect1" title="Details">
85
86
<a name="UPower-up-client.details"></a><h2>Details</h2>
99
100
<a name="UpClientPrivate"></a><h3>UpClientPrivate</h3>
100
101
<pre class="programlisting">typedef struct _UpClientPrivate UpClientPrivate;</pre>
101
102
<p>
102
 
Private <span class="type">UpClient</span> data</p>
 
103
Private <span class="type">UpClient</span> data
 
104
</p>
103
105
</div>
104
106
<hr>
105
107
<div class="refsect2" title="device_added ()">
106
108
<a name="device-added"></a><h3>device_added ()</h3>
107
 
<pre class="programlisting"><span class="returnvalue">void</span>                device_added                        (<span class="returnvalue">UpClient</span> *client,
108
 
                                                         <span class="returnvalue">UpDevice</span> *device);</pre>
 
109
<pre class="programlisting"><span class="returnvalue">void</span>                (*device_added)                     (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
110
                                                         <em class="parameter"><code><span class="type">UpDevice</span> *device</code></em>);</pre>
109
111
</div>
110
112
<hr>
111
113
<div class="refsect2" title="device_changed ()">
112
114
<a name="device-changed"></a><h3>device_changed ()</h3>
113
 
<pre class="programlisting"><span class="returnvalue">void</span>                device_changed                      (<span class="returnvalue">UpClient</span> *client,
114
 
                                                         <span class="returnvalue">UpDevice</span> *device);</pre>
 
115
<pre class="programlisting"><span class="returnvalue">void</span>                (*device_changed)                   (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
116
                                                         <em class="parameter"><code><span class="type">UpDevice</span> *device</code></em>);</pre>
115
117
</div>
116
118
<hr>
117
119
<div class="refsect2" title="device_removed ()">
118
120
<a name="device-removed"></a><h3>device_removed ()</h3>
119
 
<pre class="programlisting"><span class="returnvalue">void</span>                device_removed                      (<span class="returnvalue">UpClient</span> *client,
120
 
                                                         <span class="returnvalue">UpDevice</span> *device);</pre>
 
121
<pre class="programlisting"><span class="returnvalue">void</span>                (*device_removed)                   (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
122
                                                         <em class="parameter"><code><span class="type">UpDevice</span> *device</code></em>);</pre>
121
123
</div>
122
124
<hr>
123
125
<div class="refsect2" title="changed ()">
124
126
<a name="changed"></a><h3>changed ()</h3>
125
 
<pre class="programlisting"><span class="returnvalue">void</span>                changed                             (<span class="returnvalue">UpClient</span> *client);</pre>
 
127
<pre class="programlisting"><span class="returnvalue">void</span>                (*changed)                          (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
126
128
</div>
127
129
<hr>
128
130
<div class="refsect2" title="up_client_new ()">
129
131
<a name="up-client-new"></a><h3>up_client_new ()</h3>
130
 
<pre class="programlisting"><span class="returnvalue">UpClient</span> *          up_client_new                       (void);</pre>
 
132
<pre class="programlisting"><span class="returnvalue">UpClient</span> *          up_client_new                       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
131
133
<p>
132
 
Creates a new <span class="type">UpClient</span> object.</p>
 
134
Creates a new <span class="type">UpClient</span> object.
 
135
</p>
133
136
<div class="variablelist"><table border="0">
134
137
<col align="left" valign="top">
135
138
<tbody><tr>
144
147
<hr>
145
148
<div class="refsect2" title="up_client_get_properties_sync ()">
146
149
<a name="up-client-get-properties-sync"></a><h3>up_client_get_properties_sync ()</h3>
147
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_properties_sync       (<span class="returnvalue">UpClient</span> *client,
148
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
149
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
150
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_properties_sync       (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
151
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
152
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
150
153
<p>
151
 
Get all the properties from UPower daemon.</p>
 
154
Get all the properties from UPower daemon.
 
155
</p>
152
156
<div class="variablelist"><table border="0">
153
157
<col align="left" valign="top">
154
158
<tbody>
155
159
<tr>
156
160
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
157
 
<td> a <span class="type">UpClient</span> instance.
 
161
<td>a <span class="type">UpClient</span> instance.
158
162
</td>
159
163
</tr>
160
164
<tr>
161
165
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
162
 
<td> a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
166
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
163
167
</td>
164
168
</tr>
165
169
<tr>
166
170
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
167
 
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
171
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
168
172
</td>
169
173
</tr>
170
174
<tr>
171
175
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
172
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for success, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
176
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for success, else <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
173
177
 
174
178
</td>
175
179
</tr>
180
184
<hr>
181
185
<div class="refsect2" title="up_client_enumerate_devices_sync ()">
182
186
<a name="up-client-enumerate-devices-sync"></a><h3>up_client_enumerate_devices_sync ()</h3>
183
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_enumerate_devices_sync    (<span class="returnvalue">UpClient</span> *client,
184
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
185
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
187
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_enumerate_devices_sync    (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
188
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
189
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
186
190
<p>
187
 
Enumerates all the devices from the daemon.</p>
 
191
Enumerates all the devices from the daemon.
 
192
</p>
188
193
<div class="variablelist"><table border="0">
189
194
<col align="left" valign="top">
190
195
<tbody>
191
196
<tr>
192
197
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
193
 
<td> a <span class="type">UpClient</span> instance.
 
198
<td>a <span class="type">UpClient</span> instance.
194
199
</td>
195
200
</tr>
196
201
<tr>
197
202
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
198
 
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
203
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
199
204
</td>
200
205
</tr>
201
206
<tr>
202
207
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
203
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for success, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
 
208
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> for success, else <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.
204
209
 
205
210
</td>
206
211
</tr>
211
216
<hr>
212
217
<div class="refsect2" title="up_client_suspend_sync ()">
213
218
<a name="up-client-suspend-sync"></a><h3>up_client_suspend_sync ()</h3>
214
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_suspend_sync              (<span class="returnvalue">UpClient</span> *client,
215
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
216
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
219
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_suspend_sync              (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
220
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
221
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
217
222
<p>
218
223
Puts the computer into a low power state, but state is not preserved if the
219
224
power is lost.
220
225
</p>
221
226
<p>
222
 
NOTE: The system is still consuming a small amount of power</p>
 
227
NOTE: The system is still consuming a small amount of power
 
228
</p>
223
229
<div class="variablelist"><table border="0">
224
230
<col align="left" valign="top">
225
231
<tbody>
226
232
<tr>
227
233
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
228
 
<td> a <span class="type">UpClient</span> instance.
 
234
<td>a <span class="type">UpClient</span> instance.
229
235
</td>
230
236
</tr>
231
237
<tr>
232
238
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
233
 
<td> a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
239
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
234
240
</td>
235
241
</tr>
236
242
<tr>
237
243
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
238
 
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
244
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
239
245
</td>
240
246
</tr>
241
247
<tr>
251
257
<hr>
252
258
<div class="refsect2" title="up_client_about_to_sleep_sync ()">
253
259
<a name="up-client-about-to-sleep-sync"></a><h3>up_client_about_to_sleep_sync ()</h3>
254
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_about_to_sleep_sync       (<span class="returnvalue">UpClient</span> *client,
255
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
256
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
260
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_about_to_sleep_sync       (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
261
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
262
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
257
263
<p>
258
264
Tells UPower that we are soon to reqest either <code class="function">Suspend()</code> or <code class="function">Hibernate()</code>
259
 
and that session and system components should be notified of this.</p>
 
265
and that session and system components should be notified of this.
 
266
</p>
260
267
<div class="variablelist"><table border="0">
261
268
<col align="left" valign="top">
262
269
<tbody>
263
270
<tr>
264
271
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
265
 
<td> a <span class="type">UpClient</span> instance.
 
272
<td>a <span class="type">UpClient</span> instance.
266
273
</td>
267
274
</tr>
268
275
<tr>
269
276
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
270
 
<td> a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
277
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
271
278
</td>
272
279
</tr>
273
280
<tr>
274
281
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
275
 
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
 
282
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
276
283
</td>
277
284
</tr>
278
285
<tr>
288
295
<hr>
289
296
<div class="refsect2" title="up_client_hibernate_sync ()">
290
297
<a name="up-client-hibernate-sync"></a><h3>up_client_hibernate_sync ()</h3>
291
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_hibernate_sync            (<span class="returnvalue">UpClient</span> *client,
292
 
                                                         <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="returnvalue">GCancellable</span></a> *cancellable,
293
 
                                                         <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="returnvalue">GError</span></a> **error);</pre>
 
298
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_hibernate_sync            (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>,
 
299
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
 
300
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
294
301
<p>
295
302
Puts the computer into a low power state, where state is preserved if the
296
 
power is lost.</p>
 
303
power is lost.
 
304
</p>
297
305
<div class="variablelist"><table border="0">
298
306
<col align="left" valign="top">
299
307
<tbody>
300
308
<tr>
301
309
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
302
 
<td> a <span class="type">UpClient</span> instance.
 
310
<td>a <span class="type">UpClient</span> instance.
303
311
</td>
304
312
</tr>
305
313
<tr>
306
314
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
307
 
<td> a <a href="/usr/share/gtk-doc/html/gio/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
315
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
308
316
</td>
309
317
</tr>
310
318
<tr>
311
319
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
312
 
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
 
320
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>.
313
321
</td>
314
322
</tr>
315
323
<tr>
325
333
<hr>
326
334
<div class="refsect2" title="up_client_get_devices ()">
327
335
<a name="up-client-get-devices"></a><h3>up_client_get_devices ()</h3>
328
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *         up_client_get_devices               (<span class="returnvalue">UpClient</span> *client);</pre>
 
336
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *         up_client_get_devices               (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
329
337
<p>
330
 
Get a copy of the device objects.</p>
 
338
Get a copy of the device objects.
 
339
You must have called <a class="link" href="UPower-up-client.html#up-client-enumerate-devices-sync" title="up_client_enumerate_devices_sync ()"><code class="function">up_client_enumerate_devices_sync()</code></a> before calling this
 
340
function.
 
341
</p>
331
342
<div class="variablelist"><table border="0">
332
343
<col align="left" valign="top">
333
344
<tbody>
334
345
<tr>
335
346
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
336
 
<td> a <span class="type">UpClient</span> instance.
 
347
<td>a <span class="type">UpClient</span> instance.
337
348
</td>
338
349
</tr>
339
350
<tr>
340
351
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
341
 
<td> an array of <span class="type">UpDevice</span> objects, free with <a href="/usr/share/gtk-doc/html/glib/glib-Pointer-Arrays.html#g-ptr-array-unref"><code class="function">g_ptr_array_unref()</code></a>
 
352
<td> an array of <span class="type">UpDevice</span> objects, free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#g-ptr-array-unref"><code class="function">g_ptr_array_unref()</code></a>
342
353
 
343
354
</td>
344
355
</tr>
349
360
<hr>
350
361
<div class="refsect2" title="up_client_get_daemon_version ()">
351
362
<a name="up-client-get-daemon-version"></a><h3>up_client_get_daemon_version ()</h3>
352
 
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       up_client_get_daemon_version        (<span class="returnvalue">UpClient</span> *client);</pre>
 
363
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *       up_client_get_daemon_version        (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
353
364
<p>
354
 
Get UPower daemon version.</p>
 
365
Get UPower daemon version.
 
366
</p>
355
367
<div class="variablelist"><table border="0">
356
368
<col align="left" valign="top">
357
369
<tbody>
358
370
<tr>
359
371
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
360
 
<td> a <span class="type">UpClient</span> instance.
 
372
<td>a <span class="type">UpClient</span> instance.
361
373
</td>
362
374
</tr>
363
375
<tr>
373
385
<hr>
374
386
<div class="refsect2" title="up_client_get_can_hibernate ()">
375
387
<a name="up-client-get-can-hibernate"></a><h3>up_client_get_can_hibernate ()</h3>
376
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_can_hibernate         (<span class="returnvalue">UpClient</span> *client);</pre>
 
388
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_can_hibernate         (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
377
389
<p>
378
 
Get whether the system is able to hibernate.</p>
 
390
Get whether the system is able to hibernate.
 
391
</p>
379
392
<div class="variablelist"><table border="0">
380
393
<col align="left" valign="top">
381
394
<tbody>
382
395
<tr>
383
396
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
384
 
<td> a <span class="type">UpClient</span> instance.
 
397
<td>a <span class="type">UpClient</span> instance.
385
398
</td>
386
399
</tr>
387
400
<tr>
397
410
<hr>
398
411
<div class="refsect2" title="up_client_get_lid_is_closed ()">
399
412
<a name="up-client-get-lid-is-closed"></a><h3>up_client_get_lid_is_closed ()</h3>
400
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_lid_is_closed         (<span class="returnvalue">UpClient</span> *client);</pre>
 
413
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_lid_is_closed         (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
401
414
<p>
402
 
Get whether the laptop lid is closed.</p>
 
415
Get whether the laptop lid is closed.
 
416
</p>
403
417
<div class="variablelist"><table border="0">
404
418
<col align="left" valign="top">
405
419
<tbody>
406
420
<tr>
407
421
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
408
 
<td> a <span class="type">UpClient</span> instance.
 
422
<td>a <span class="type">UpClient</span> instance.
409
423
</td>
410
424
</tr>
411
425
<tr>
412
426
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
413
 
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if lid is closed or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
427
<td> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if lid is closed or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.
 
428
 
414
429
</td>
415
430
</tr>
416
431
</tbody>
417
432
</table></div>
 
433
<p class="since">Since 0.9.0</p>
418
434
</div>
419
435
<hr>
420
436
<div class="refsect2" title="up_client_get_can_suspend ()">
421
437
<a name="up-client-get-can-suspend"></a><h3>up_client_get_can_suspend ()</h3>
422
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_can_suspend           (<span class="returnvalue">UpClient</span> *client);</pre>
 
438
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_can_suspend           (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
423
439
<p>
424
 
Get whether the system is able to suspend.</p>
 
440
Get whether the system is able to suspend.
 
441
</p>
425
442
<div class="variablelist"><table border="0">
426
443
<col align="left" valign="top">
427
444
<tbody>
428
445
<tr>
429
446
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
430
 
<td> a <span class="type">UpClient</span> instance.
 
447
<td>a <span class="type">UpClient</span> instance.
431
448
</td>
432
449
</tr>
433
450
<tr>
443
460
<hr>
444
461
<div class="refsect2" title="up_client_get_on_battery ()">
445
462
<a name="up-client-get-on-battery"></a><h3>up_client_get_on_battery ()</h3>
446
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_on_battery            (<span class="returnvalue">UpClient</span> *client);</pre>
 
463
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_on_battery            (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
447
464
<p>
448
 
Get whether the system is running on battery power.</p>
 
465
Get whether the system is running on battery power.
 
466
</p>
449
467
<div class="variablelist"><table border="0">
450
468
<col align="left" valign="top">
451
469
<tbody>
452
470
<tr>
453
471
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
454
 
<td> a <span class="type">UpClient</span> instance.
 
472
<td>a <span class="type">UpClient</span> instance.
455
473
</td>
456
474
</tr>
457
475
<tr>
467
485
<hr>
468
486
<div class="refsect2" title="up_client_get_on_low_battery ()">
469
487
<a name="up-client-get-on-low-battery"></a><h3>up_client_get_on_low_battery ()</h3>
470
 
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_on_low_battery        (<span class="returnvalue">UpClient</span> *client);</pre>
 
488
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            up_client_get_on_low_battery        (<em class="parameter"><code><span class="type">UpClient</span> *client</code></em>);</pre>
471
489
<p>
472
 
Get whether the system is running on low battery power.</p>
 
490
Get whether the system is running on low battery power.
 
491
</p>
473
492
<div class="variablelist"><table border="0">
474
493
<col align="left" valign="top">
475
494
<tbody>
476
495
<tr>
477
496
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
478
 
<td> a <span class="type">UpClient</span> instance.
 
497
<td>a <span class="type">UpClient</span> instance.
479
498
</td>
480
499
</tr>
481
500
<tr>
492
511
</div>
493
512
<div class="footer">
494
513
<hr>
495
 
          Generated by GTK-Doc V1.14</div>
 
514
          Generated by GTK-Doc V1.15</div>
496
515
</body>
497
516
</html>
 
 
b'\\ No newline at end of file'