<?xml version="1.0"?>
<!-- This file was automatically generated from C sources - DO NOT EDIT!
To affect the contents of this file, edit the original C definitions,
and/or use gtk-doc annotations.  -->
<repository version="1.2"
            xmlns="http://www.gtk.org/introspection/core/1.0"
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
  <include name="GObject" version="2.0"/>
  <include name="Gio" version="2.0"/>
  <namespace name="UPowerGlib"
             version="1.0"
             shared-library="libupower-glib.so.3"
             c:identifier-prefixes="Up"
             c:symbol-prefixes="up_">
    <function-macro name="CHECK_VERSION"
                    c:identifier="UP_CHECK_VERSION"
                    introspectable="0">
      <doc xml:space="preserve"
           filename="up-version.h"
           line="38">The compile-time major version</doc>
      <source-position filename="up-version.h" line="62"/>
      <parameters>
        <parameter name="major">
        </parameter>
        <parameter name="minor">
        </parameter>
        <parameter name="micro">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CLIENT" c:identifier="UP_CLIENT" introspectable="0">
      <source-position filename="up-client.h" line="37"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CLIENT_CLASS"
                    c:identifier="UP_CLIENT_CLASS"
                    introspectable="0">
      <source-position filename="up-client.h" line="38"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="CLIENT_GET_CLASS"
                    c:identifier="UP_CLIENT_GET_CLASS"
                    introspectable="0">
      <source-position filename="up-client.h" line="41"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Client"
           c:symbol-prefix="client"
           c:type="UpClient"
           parent="GObject.Object"
           glib:type-name="UpClient"
           glib:get-type="up_client_get_type"
           glib:type-struct="ClientClass">
      <source-position filename="up-client.h" line="70"/>
      <implements name="Gio.Initable"/>
      <constructor name="new" c:identifier="up_client_new" version="0.9.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="536">Creates a new #UpClient object. If connecting to upowerd on D-Bus fails,
this returns %NULL and prints out a warning with the error message.
Consider using up_client_new_full() instead which allows you to handle errors
and cancelling long operations yourself.</doc>
        <source-position filename="up-client.h" line="74"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="544">a new UpClient object, or %NULL on failure.</doc>
          <type name="Client" c:type="UpClient*"/>
        </return-value>
      </constructor>
      <constructor name="new_full"
                   c:identifier="up_client_new_full"
                   version="0.99.5"
                   throws="1">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="518">Creates a new #UpClient object. If connecting to upowerd on D-Bus fails,
this returns %NULL and sets @error.</doc>
        <source-position filename="up-client.h" line="75"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="526">a new UpClient object, or %NULL on failure.</doc>
          <type name="Client" c:type="UpClient*"/>
        </return-value>
        <parameters>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="520">A #GCancellable or %NULL.</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </constructor>
      <virtual-method name="device_added">
        <source-position filename="up-client.h" line="56"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
          <parameter name="device" transfer-ownership="none">
            <type name="Device" c:type="UpDevice*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="device_removed">
        <source-position filename="up-client.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
          <parameter name="object_path" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_critical_action"
              c:identifier="up_client_get_critical_action"
              version="1.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="172">Gets a string representing the configured critical action,
depending on availability.</doc>
        <source-position filename="up-client.h" line="79"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="179">the action name, or %NULL on error.</doc>
          <type name="utf8" c:type="char*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="174">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_daemon_version"
              c:identifier="up_client_get_daemon_version"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="197">Get UPower daemon version.</doc>
        <source-position filename="up-client.h" line="84"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="203">string containing the daemon version, e.g. 008</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="199">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_devices"
              c:identifier="up_client_get_devices"
              version="0.9.0"
              deprecated="1"
              deprecated-version="0.99.8">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="77">Get a copy of the device objects. This function does not set the free
function for the #GPtrArray so you need use g_object_unref on all
elements when you are finished with the array.</doc>
        <source-position filename="up-client.h" line="82"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="85">an array of #UpDevice objects, free with g_ptr_array_unref()</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="79">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_devices2"
              c:identifier="up_client_get_devices2"
              version="0.99.8">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="98">Get a copy of the device objects.</doc>
        <source-position filename="up-client.h" line="83"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="104">an array of #UpDevice objects, free with g_ptr_array_unref()</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="Device"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="100">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_display_device"
              c:identifier="up_client_get_display_device"
              version="1.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="148">Get the composite display device.</doc>
        <source-position filename="up-client.h" line="78"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="153">a #UpDevice object, or %NULL on error.</doc>
          <type name="Device" c:type="UpDevice*"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="150">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_lid_is_closed"
              c:identifier="up_client_get_lid_is_closed"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="214">Get whether the laptop lid is closed.</doc>
        <source-position filename="up-client.h" line="85"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="220">%TRUE if lid is closed or %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="216">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_lid_is_present"
              c:identifier="up_client_get_lid_is_present"
              version="0.9.2">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="231">Get whether a laptop lid is present on this machine.</doc>
        <source-position filename="up-client.h" line="86"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="237">%TRUE if the machine has a laptop lid</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="233">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_on_battery"
              c:identifier="up_client_get_on_battery"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="248">Get whether the system is running on battery power.</doc>
        <source-position filename="up-client.h" line="87"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-client.c"
               line="254">%TRUE if the system is currently running on battery, %FALSE otherwise.</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="client" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="250">a #UpClient instance.</doc>
            <type name="Client" c:type="UpClient*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="daemon-version"
                version="0.9.0"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="365">The daemon version.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="lid-is-closed" version="0.9.0" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="393">If the laptop lid is closed.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="lid-is-present"
                version="0.9.0"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="407">If a laptop lid is present.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="on-battery" version="0.9.0" transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="379">If the computer is on battery power.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="ClientPrivate" c:type="UpClientPrivate*"/>
      </field>
      <glib:signal name="device-added" when="last" version="0.9.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="422">The ::device-added signal is emitted when a power device is added.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="425">the #UpDevice that was added.</doc>
            <type name="Device"/>
          </parameter>
        </parameters>
      </glib:signal>
      <glib:signal name="device-removed" when="last" version="1.0">
        <doc xml:space="preserve"
             filename="up-client.c"
             line="438">The ::device-removed signal is emitted when a power device is removed.</doc>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object_path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-client.c"
                 line="441">the object path of the #UpDevice that was removed.</doc>
            <type name="utf8" c:type="gchar*"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="ClientClass"
            c:type="UpClientClass"
            glib:is-gtype-struct-for="Client">
      <source-position filename="up-client.h" line="70"/>
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="device_added">
        <callback name="device_added">
          <source-position filename="up-client.h" line="56"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="UpClient*"/>
            </parameter>
            <parameter name="device" transfer-ownership="none">
              <type name="Device" c:type="UpDevice*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="device_removed">
        <callback name="device_removed">
          <source-position filename="up-client.h" line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="client" transfer-ownership="none">
              <type name="Client" c:type="UpClient*"/>
            </parameter>
            <parameter name="object_path" transfer-ownership="none">
              <type name="utf8" c:type="const gchar*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="_up_client_reserved1" introspectable="0">
        <callback name="_up_client_reserved1">
          <source-position filename="up-client.h" line="62"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved2" introspectable="0">
        <callback name="_up_client_reserved2">
          <source-position filename="up-client.h" line="63"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved3" introspectable="0">
        <callback name="_up_client_reserved3">
          <source-position filename="up-client.h" line="64"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved4" introspectable="0">
        <callback name="_up_client_reserved4">
          <source-position filename="up-client.h" line="65"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved5" introspectable="0">
        <callback name="_up_client_reserved5">
          <source-position filename="up-client.h" line="66"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved6" introspectable="0">
        <callback name="_up_client_reserved6">
          <source-position filename="up-client.h" line="67"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved7" introspectable="0">
        <callback name="_up_client_reserved7">
          <source-position filename="up-client.h" line="68"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_client_reserved8" introspectable="0">
        <callback name="_up_client_reserved8">
          <source-position filename="up-client.h" line="69"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <record name="ClientPrivate" c:type="UpClientPrivate" disguised="1">
      <doc xml:space="preserve"
           filename="up-client.c"
           line="46">Private #UpClient data</doc>
      <source-position filename="up-client.h" line="45"/>
    </record>
    <function-macro name="DEVICE" c:identifier="UP_DEVICE" introspectable="0">
      <source-position filename="up-device.h" line="37"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DEVICE_CLASS"
                    c:identifier="UP_DEVICE_CLASS"
                    introspectable="0">
      <source-position filename="up-device.h" line="38"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="DEVICE_GET_CLASS"
                    c:identifier="UP_DEVICE_GET_CLASS"
                    introspectable="0">
      <source-position filename="up-device.h" line="41"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <class name="Device"
           c:symbol-prefix="device"
           c:type="UpDevice"
           parent="GObject.Object"
           glib:type-name="UpDevice"
           glib:get-type="up_device_get_type"
           glib:type-struct="DeviceClass">
      <source-position filename="up-device.h" line="64"/>
      <constructor name="new" c:identifier="up_device_new" version="0.9.0">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1243">Creates a new #UpDevice object.</doc>
        <source-position filename="up-device.h" line="68"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="1248">a new UpDevice object.</doc>
          <type name="Device" c:type="UpDevice*"/>
        </return-value>
      </constructor>
      <function name="kind_from_string"
                c:identifier="up_device_kind_from_string"
                version="0.9.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="80">Converts a string to a #UpDeviceKind.</doc>
        <source-position filename="up-types.h" line="118"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="85">enumerated value</doc>
          <type name="DeviceKind" c:type="UpDeviceKind"/>
        </return-value>
        <parameters>
          <parameter name="type" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="kind_to_string"
                c:identifier="up_device_kind_to_string"
                version="0.9.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="37">Converts a #UpDeviceKind to a string.</doc>
        <source-position filename="up-types.h" line="114"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="42">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="type_enum" transfer-ownership="none">
            <type name="DeviceKind" c:type="UpDeviceKind"/>
          </parameter>
        </parameters>
      </function>
      <function name="level_from_string"
                c:identifier="up_device_level_from_string"
                version="1.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="276">Converts a string to a #UpDeviceLevel.</doc>
        <source-position filename="up-types.h" line="121"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="281">enumerated value</doc>
          <type name="DeviceLevel" c:type="UpDeviceLevel"/>
        </return-value>
        <parameters>
          <parameter name="level" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="level_to_string"
                c:identifier="up_device_level_to_string"
                version="1.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="239">Converts a #UpDeviceLevel to a string.</doc>
        <source-position filename="up-types.h" line="117"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="244">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="level_enum" transfer-ownership="none">
            <type name="DeviceLevel" c:type="UpDeviceLevel"/>
          </parameter>
        </parameters>
      </function>
      <function name="state_from_string"
                c:identifier="up_device_state_from_string"
                version="0.9.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="150">Converts a string to a #UpDeviceState.</doc>
        <source-position filename="up-types.h" line="119"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="155">enumerated value</doc>
          <type name="DeviceState" c:type="UpDeviceState"/>
        </return-value>
        <parameters>
          <parameter name="state" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="state_to_string"
                c:identifier="up_device_state_to_string"
                version="0.9.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="119">Converts a #UpDeviceState to a string.</doc>
        <source-position filename="up-types.h" line="115"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="124">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="state_enum" transfer-ownership="none">
            <type name="DeviceState" c:type="UpDeviceState"/>
          </parameter>
        </parameters>
      </function>
      <function name="technology_from_string"
                c:identifier="up_device_technology_from_string"
                version="0.9.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="210">Converts a string to a #UpDeviceTechnology.</doc>
        <source-position filename="up-types.h" line="120"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="215">enumerated value</doc>
          <type name="DeviceTechnology" c:type="UpDeviceTechnology"/>
        </return-value>
        <parameters>
          <parameter name="technology" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </function>
      <function name="technology_to_string"
                c:identifier="up_device_technology_to_string"
                version="0.9.0">
        <doc xml:space="preserve"
             filename="up-types.c"
             line="179">Converts a #UpDeviceTechnology to a string.</doc>
        <source-position filename="up-types.h" line="116"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-types.c"
               line="184">identifier string</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <parameter name="technology_enum" transfer-ownership="none">
            <type name="DeviceTechnology" c:type="UpDeviceTechnology"/>
          </parameter>
        </parameters>
      </function>
      <method name="get_history_sync"
              c:identifier="up_device_get_history_sync"
              version="0.9.0"
              throws="1">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="422">Gets the device history.</doc>
        <source-position filename="up-device.h" line="79"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="433">an array of #UpHistoryItem's, with the most
              recent one being first; %NULL if @error is set or @device is
              invalid</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="HistoryItem"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="424">a #UpDevice instance.</doc>
            <type name="Device" c:type="UpDevice*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="425">The type of history, known values are "rate" and "charge".</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="timespec" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="426">the amount of time to look back into time.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="resolution" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="427">the resolution of data.</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="428">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_object_path"
              c:identifier="up_device_get_object_path"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="171">Gets the object path for the device.</doc>
        <source-position filename="up-device.h" line="91"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="177">the object path, or %NULL</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="173">a #UpDevice instance.</doc>
            <type name="Device" c:type="UpDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_statistics_sync"
              c:identifier="up_device_get_statistics_sync"
              version="0.9.0"
              throws="1">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="505">Gets the device current statistics.</doc>
        <source-position filename="up-device.h" line="85"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="514">an array of #UpStatsItem's, else #NULL and @error is used</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="StatsItem"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="507">a #UpDevice instance.</doc>
            <type name="Device" c:type="UpDevice*"/>
          </instance-parameter>
          <parameter name="type" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="508">the type of statistics.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="509">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="refresh_sync"
              c:identifier="up_device_refresh_sync"
              version="0.9.0"
              throws="1">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="400">Refreshes properties on the device.
This function is normally not required.</doc>
        <source-position filename="up-device.h" line="72"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="409">#TRUE for success, else #FALSE and @error is used</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="402">a #UpDevice instance.</doc>
            <type name="Device" c:type="UpDevice*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="403">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_object_path_sync"
              c:identifier="up_device_set_object_path_sync"
              version="0.9.0"
              throws="1">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="116">Sets the object path of the object and fills up initial properties.</doc>
        <source-position filename="up-device.h" line="75"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="125">#TRUE for success, else #FALSE and @error is used</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="118">a #UpDevice instance.</doc>
            <type name="Device" c:type="UpDevice*"/>
          </instance-parameter>
          <parameter name="object_path" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="119">The UPower object path.</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="120">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_text" c:identifier="up_device_to_text" version="0.9.0">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="246">Converts the device to a string description.</doc>
        <source-position filename="up-device.h" line="69"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-device.c"
               line="252">text representation of #UpDevice</doc>
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="device" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-device.c"
                 line="248">a #UpDevice instance.</doc>
            <type name="Device" c:type="UpDevice*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="battery-level"
                version="1.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1173">The battery level, e.g. %UP_DEVICE_LEVEL_CRITICAL. If this is something
other than %UP_DEVICE_LEVEL_NONE, then User Interfaces should use this
approximate level instead of percentages.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="capacity"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1008">The percentage capacity of the device where 100% means the device has
the same charge potential as when it was manufactured.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="energy"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1021">The energy left in the device. Measured in mWh.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="energy-empty"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1033">The energy the device will have when it is empty. This is usually zero.
Measured in mWh.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="energy-full"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1046">The amount of energy when the device is fully charged. Measured in mWh.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="energy-full-design"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1058">The amount of energy when the device was brand new. Measured in mWh.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="energy-rate"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1070">The rate of discharge or charge. Measured in mW.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="has-history"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="937">If the device has history data that might be useful.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="has-statistics"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="950">If the device has statistics data that might be useful.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="icon-name"
                version="1.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1191">The icon name, following the Icon Naming Speficiation</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="is-present"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="909">If the device is present, as some devices like laptop batteries
can be removed, leaving an empty bay that is still technically a
device.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="is-rechargeable"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="924">If the device has a rechargable battery.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="kind"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="963">The device kind, e.g. %UP_DEVICE_KIND_KEYBOARD.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="luminosity"
                version="0.9.19"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1095">The current luminosity of the device.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="model"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="844">The model of the device.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="native-path"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="870">The native path of the device, useful for direct device access.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="online"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="896">If the device is online, i.e. connected.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="percentage"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1131">The percentage charge of the device. Note that if the battery level property
is something other than %UP_DEVICE_LEVEL_NONE, then this percentage is an
approximation, and should not be used a number to display to the user.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="power-supply"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="883">If the device is powering the system.</doc>
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="serial"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="857">The serial number of the device.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="state"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="978">The state the device is in at this time, e.g. %UP_DEVICE_STATE_EMPTY.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="technology"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="993">The battery technology e.g. %UP_DEVICE_TECHNOLOGY_LITHIUM_ION.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <property name="temperature"
                version="0.9.22"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1145">The temperature of the device in degrees Celsius.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="time-to-empty"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1107">The amount of time until the device is empty.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="time-to-full"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1119">The amount of time until the device is fully charged.</doc>
        <type name="gint64" c:type="gint64"/>
      </property>
      <property name="update-time"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="818">The last time the device was updated.</doc>
        <type name="guint64" c:type="guint64"/>
      </property>
      <property name="vendor"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="831">The vendor of the device.</doc>
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="voltage"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1082">The current voltage of the device.</doc>
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="warning-level"
                version="1.0"
                writable="1"
                transfer-ownership="none">
        <doc xml:space="preserve"
             filename="up-device.c"
             line="1157">The warning level e.g. %UP_DEVICE_LEVEL_CRITICAL.</doc>
        <type name="guint" c:type="guint"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="DevicePrivate" c:type="UpDevicePrivate*"/>
      </field>
    </class>
    <record name="DeviceClass"
            c:type="UpDeviceClass"
            glib:is-gtype-struct-for="Device">
      <source-position filename="up-device.h" line="64"/>
      <field name="parent_class" readable="0" private="1">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="_up_device_reserved1" introspectable="0">
        <callback name="_up_device_reserved1">
          <source-position filename="up-device.h" line="56"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved2" introspectable="0">
        <callback name="_up_device_reserved2">
          <source-position filename="up-device.h" line="57"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved3" introspectable="0">
        <callback name="_up_device_reserved3">
          <source-position filename="up-device.h" line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved4" introspectable="0">
        <callback name="_up_device_reserved4">
          <source-position filename="up-device.h" line="59"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved5" introspectable="0">
        <callback name="_up_device_reserved5">
          <source-position filename="up-device.h" line="60"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved6" introspectable="0">
        <callback name="_up_device_reserved6">
          <source-position filename="up-device.h" line="61"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved7" introspectable="0">
        <callback name="_up_device_reserved7">
          <source-position filename="up-device.h" line="62"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
      <field name="_up_device_reserved8" introspectable="0">
        <callback name="_up_device_reserved8">
          <source-position filename="up-device.h" line="63"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
        </callback>
      </field>
    </record>
    <enumeration name="DeviceKind" c:type="UpDeviceKind">
      <doc xml:space="preserve"
           filename="up-types.h"
           line="33">The device type.</doc>
      <source-position filename="up-types.h" line="53"/>
      <member name="unknown" value="0" c:identifier="UP_DEVICE_KIND_UNKNOWN">
      </member>
      <member name="line_power"
              value="1"
              c:identifier="UP_DEVICE_KIND_LINE_POWER">
      </member>
      <member name="battery" value="2" c:identifier="UP_DEVICE_KIND_BATTERY">
      </member>
      <member name="ups" value="3" c:identifier="UP_DEVICE_KIND_UPS">
      </member>
      <member name="monitor" value="4" c:identifier="UP_DEVICE_KIND_MONITOR">
      </member>
      <member name="mouse" value="5" c:identifier="UP_DEVICE_KIND_MOUSE">
      </member>
      <member name="keyboard" value="6" c:identifier="UP_DEVICE_KIND_KEYBOARD">
      </member>
      <member name="pda" value="7" c:identifier="UP_DEVICE_KIND_PDA">
      </member>
      <member name="phone" value="8" c:identifier="UP_DEVICE_KIND_PHONE">
      </member>
      <member name="media_player"
              value="9"
              c:identifier="UP_DEVICE_KIND_MEDIA_PLAYER">
      </member>
      <member name="tablet" value="10" c:identifier="UP_DEVICE_KIND_TABLET">
      </member>
      <member name="computer"
              value="11"
              c:identifier="UP_DEVICE_KIND_COMPUTER">
      </member>
      <member name="gaming_input"
              value="12"
              c:identifier="UP_DEVICE_KIND_GAMING_INPUT">
      </member>
      <member name="last" value="13" c:identifier="UP_DEVICE_KIND_LAST">
      </member>
    </enumeration>
    <enumeration name="DeviceLevel" c:type="UpDeviceLevel">
      <doc xml:space="preserve"
           filename="up-types.h"
           line="87">The level of a battery. Only values up to, and including
%UP_DEVICE_LEVEL_ACTION are relevant for the #WarningLevel.
The #BatteryLevel only uses the following values:
- %UP_DEVICE_LEVEL_UNKNOWN
- %UP_DEVICE_LEVEL_NONE
- %UP_DEVICE_LEVEL_LOW
- %UP_DEVICE_LEVEL_CRITICAL
- %UP_DEVICE_LEVEL_NORMAL
- %UP_DEVICE_LEVEL_HIGH
- %UP_DEVICE_LEVEL_FULL</doc>
      <source-position filename="up-types.h" line="112"/>
      <member name="unknown" value="0" c:identifier="UP_DEVICE_LEVEL_UNKNOWN">
      </member>
      <member name="none" value="1" c:identifier="UP_DEVICE_LEVEL_NONE">
      </member>
      <member name="discharging"
              value="2"
              c:identifier="UP_DEVICE_LEVEL_DISCHARGING">
      </member>
      <member name="low" value="3" c:identifier="UP_DEVICE_LEVEL_LOW">
      </member>
      <member name="critical"
              value="4"
              c:identifier="UP_DEVICE_LEVEL_CRITICAL">
      </member>
      <member name="action" value="5" c:identifier="UP_DEVICE_LEVEL_ACTION">
      </member>
      <member name="normal" value="6" c:identifier="UP_DEVICE_LEVEL_NORMAL">
      </member>
      <member name="high" value="7" c:identifier="UP_DEVICE_LEVEL_HIGH">
      </member>
      <member name="full" value="8" c:identifier="UP_DEVICE_LEVEL_FULL">
      </member>
      <member name="last" value="9" c:identifier="UP_DEVICE_LEVEL_LAST">
      </member>
    </enumeration>
    <record name="DevicePrivate" c:type="UpDevicePrivate" disguised="1">
      <doc xml:space="preserve"
           filename="up-device.c"
           line="47">Private #PkDevice data</doc>
      <source-position filename="up-device.h" line="45"/>
    </record>
    <enumeration name="DeviceState" c:type="UpDeviceState">
      <doc xml:space="preserve"
           filename="up-types.h"
           line="55">The device state.</doc>
      <source-position filename="up-types.h" line="69"/>
      <member name="unknown" value="0" c:identifier="UP_DEVICE_STATE_UNKNOWN">
      </member>
      <member name="charging"
              value="1"
              c:identifier="UP_DEVICE_STATE_CHARGING">
      </member>
      <member name="discharging"
              value="2"
              c:identifier="UP_DEVICE_STATE_DISCHARGING">
      </member>
      <member name="empty" value="3" c:identifier="UP_DEVICE_STATE_EMPTY">
      </member>
      <member name="fully_charged"
              value="4"
              c:identifier="UP_DEVICE_STATE_FULLY_CHARGED">
      </member>
      <member name="pending_charge"
              value="5"
              c:identifier="UP_DEVICE_STATE_PENDING_CHARGE">
      </member>
      <member name="pending_discharge"
              value="6"
              c:identifier="UP_DEVICE_STATE_PENDING_DISCHARGE">
      </member>
      <member name="last" value="7" c:identifier="UP_DEVICE_STATE_LAST">
      </member>
    </enumeration>
    <enumeration name="DeviceTechnology" c:type="UpDeviceTechnology">
      <doc xml:space="preserve"
           filename="up-types.h"
           line="71">The device technology.</doc>
      <source-position filename="up-types.h" line="85"/>
      <member name="unknown"
              value="0"
              c:identifier="UP_DEVICE_TECHNOLOGY_UNKNOWN">
      </member>
      <member name="lithium_ion"
              value="1"
              c:identifier="UP_DEVICE_TECHNOLOGY_LITHIUM_ION">
      </member>
      <member name="lithium_polymer"
              value="2"
              c:identifier="UP_DEVICE_TECHNOLOGY_LITHIUM_POLYMER">
      </member>
      <member name="lithium_iron_phosphate"
              value="3"
              c:identifier="UP_DEVICE_TECHNOLOGY_LITHIUM_IRON_PHOSPHATE">
      </member>
      <member name="lead_acid"
              value="4"
              c:identifier="UP_DEVICE_TECHNOLOGY_LEAD_ACID">
      </member>
      <member name="nickel_cadmium"
              value="5"
              c:identifier="UP_DEVICE_TECHNOLOGY_NICKEL_CADMIUM">
      </member>
      <member name="nickel_metal_hydride"
              value="6"
              c:identifier="UP_DEVICE_TECHNOLOGY_NICKEL_METAL_HYDRIDE">
      </member>
      <member name="last" value="7" c:identifier="UP_DEVICE_TECHNOLOGY_LAST">
      </member>
    </enumeration>
    <function-macro name="HISTORY_ITEM"
                    c:identifier="UP_HISTORY_ITEM"
                    introspectable="0">
      <source-position filename="up-history-item.h" line="35"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="HISTORY_ITEM_CLASS"
                    c:identifier="UP_HISTORY_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="up-history-item.h" line="36"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="HISTORY_ITEM_GET_CLASS"
                    c:identifier="UP_HISTORY_ITEM_GET_CLASS"
                    introspectable="0">
      <source-position filename="up-history-item.h" line="39"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <class name="HistoryItem"
           c:symbol-prefix="history_item"
           c:type="UpHistoryItem"
           parent="GObject.Object"
           glib:type-name="UpHistoryItem"
           glib:get-type="up_history_item_get_type"
           glib:type-struct="HistoryItemClass">
      <source-position filename="up-history-item.h" line="50"/>
      <constructor name="new"
                   c:identifier="up_history_item_new"
                   version="0.9.0">
        <source-position filename="up-history-item.h" line="53"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-history-item.c"
               line="346">a new UpHistoryItem object.</doc>
          <type name="HistoryItem" c:type="UpHistoryItem*"/>
        </return-value>
      </constructor>
      <method name="get_state"
              c:identifier="up_history_item_get_state"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="160">Gets the item state.</doc>
        <source-position filename="up-history-item.h" line="62"/>
        <return-value transfer-ownership="none">
          <type name="DeviceState" c:type="UpDeviceState"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="162">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_time"
              c:identifier="up_history_item_get_time"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="128">Gets the item time.</doc>
        <source-position filename="up-history-item.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="130">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="up_history_item_get_value"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="76">Gets the item value.</doc>
        <source-position filename="up-history-item.h" line="55"/>
        <return-value transfer-ownership="none">
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="78">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_from_string"
              c:identifier="up_history_item_set_from_string"
              version="0.9.1">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="193">Converts the history item to a string representation.</doc>
        <source-position filename="up-history-item.h" line="66"/>
        <return-value transfer-ownership="none">
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="195">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
          <parameter name="text" transfer-ownership="none">
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_state"
              c:identifier="up_history_item_set_state"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="143">Sets the item state.</doc>
        <source-position filename="up-history-item.h" line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="145">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
          <parameter name="state" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="146">the new value</doc>
            <type name="DeviceState" c:type="UpDeviceState"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_time"
              c:identifier="up_history_item_set_time"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="91">Sets the item time.</doc>
        <source-position filename="up-history-item.h" line="59"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="93">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
          <parameter name="time" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="94">the new value</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_time_to_present"
              c:identifier="up_history_item_set_time_to_present"
              version="0.9.1">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="108">Sets the item time to the present value.</doc>
        <source-position filename="up-history-item.h" line="61"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="110">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_value"
              c:identifier="up_history_item_set_value"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="59">Sets the item value.</doc>
        <source-position filename="up-history-item.h" line="56"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="61">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="62">the new value</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <method name="to_string"
              c:identifier="up_history_item_to_string"
              version="0.9.1">
        <doc xml:space="preserve"
             filename="up-history-item.c"
             line="175">Converts the history item to a string representation.</doc>
        <source-position filename="up-history-item.h" line="65"/>
        <return-value transfer-ownership="full">
          <type name="utf8" c:type="gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="history_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-history-item.c"
                 line="177">#UpHistoryItem</doc>
            <type name="HistoryItem" c:type="UpHistoryItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <property name="state"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </property>
      <property name="time"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </property>
      <property name="value"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="HistoryItemPrivate" c:type="UpHistoryItemPrivate*"/>
      </field>
    </class>
    <record name="HistoryItemClass"
            c:type="UpHistoryItemClass"
            glib:is-gtype-struct-for="HistoryItem">
      <source-position filename="up-history-item.h" line="50"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="HistoryItemPrivate"
            c:type="UpHistoryItemPrivate"
            disguised="1">
      <source-position filename="up-history-item.h" line="41"/>
    </record>
    <function-macro name="IS_CLIENT"
                    c:identifier="UP_IS_CLIENT"
                    introspectable="0">
      <source-position filename="up-client.h" line="39"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_CLIENT_CLASS"
                    c:identifier="UP_IS_CLIENT_CLASS"
                    introspectable="0">
      <source-position filename="up-client.h" line="40"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DEVICE"
                    c:identifier="UP_IS_DEVICE"
                    introspectable="0">
      <source-position filename="up-device.h" line="39"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_DEVICE_CLASS"
                    c:identifier="UP_IS_DEVICE_CLASS"
                    introspectable="0">
      <source-position filename="up-device.h" line="40"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_HISTORY_ITEM"
                    c:identifier="UP_IS_HISTORY_ITEM"
                    introspectable="0">
      <source-position filename="up-history-item.h" line="37"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_HISTORY_ITEM_CLASS"
                    c:identifier="UP_IS_HISTORY_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="up-history-item.h" line="38"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STATS_ITEM"
                    c:identifier="UP_IS_STATS_ITEM"
                    introspectable="0">
      <source-position filename="up-stats-item.h" line="36"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_STATS_ITEM_CLASS"
                    c:identifier="UP_IS_STATS_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="up-stats-item.h" line="37"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_WAKEUPS"
                    c:identifier="UP_IS_WAKEUPS"
                    introspectable="0">
      <source-position filename="up-wakeups.h" line="41"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_WAKEUPS_CLASS"
                    c:identifier="UP_IS_WAKEUPS_CLASS"
                    introspectable="0">
      <source-position filename="up-wakeups.h" line="42"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_WAKEUP_ITEM"
                    c:identifier="UP_IS_WAKEUP_ITEM"
                    introspectable="0">
      <source-position filename="up-wakeup-item.h" line="37"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="IS_WAKEUP_ITEM_CLASS"
                    c:identifier="UP_IS_WAKEUP_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="up-wakeup-item.h" line="38"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <constant name="MAJOR_VERSION" value="0" c:type="UP_MAJOR_VERSION">
      <source-position filename="up-version.h" line="43"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MICRO_VERSION" value="11" c:type="UP_MICRO_VERSION">
      <doc xml:space="preserve"
           filename="up-version.h"
           line="52">The compile-time micro version</doc>
      <source-position filename="up-version.h" line="57"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <constant name="MINOR_VERSION" value="99" c:type="UP_MINOR_VERSION">
      <source-position filename="up-version.h" line="50"/>
      <type name="gint" c:type="gint"/>
    </constant>
    <function-macro name="STATS_ITEM"
                    c:identifier="UP_STATS_ITEM"
                    introspectable="0">
      <source-position filename="up-stats-item.h" line="34"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STATS_ITEM_CLASS"
                    c:identifier="UP_STATS_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="up-stats-item.h" line="35"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="STATS_ITEM_GET_CLASS"
                    c:identifier="UP_STATS_ITEM_GET_CLASS"
                    introspectable="0">
      <source-position filename="up-stats-item.h" line="38"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <class name="StatsItem"
           c:symbol-prefix="stats_item"
           c:type="UpStatsItem"
           parent="GObject.Object"
           glib:type-name="UpStatsItem"
           glib:get-type="up_stats_item_get_type"
           glib:type-struct="StatsItemClass">
      <source-position filename="up-stats-item.h" line="49"/>
      <constructor name="new" c:identifier="up_stats_item_new" version="0.9.0">
        <source-position filename="up-stats-item.h" line="52"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-stats-item.c"
               line="220">a new UpStatsItem object.</doc>
          <type name="StatsItem" c:type="UpStatsItem*"/>
        </return-value>
      </constructor>
      <method name="get_accuracy"
              c:identifier="up_stats_item_get_accuracy"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-stats-item.c"
             line="106">Gets the item accuracy.</doc>
        <source-position filename="up-stats-item.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="stats_item" transfer-ownership="none">
            <type name="StatsItem" c:type="UpStatsItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="up_stats_item_get_value"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-stats-item.c"
             line="71">Gets the item value.</doc>
        <source-position filename="up-stats-item.h" line="54"/>
        <return-value transfer-ownership="none">
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="stats_item" transfer-ownership="none">
            <type name="StatsItem" c:type="UpStatsItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_accuracy"
              c:identifier="up_stats_item_set_accuracy"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-stats-item.c"
             line="85">Sets the item accuracy.</doc>
        <source-position filename="up-stats-item.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="stats_item" transfer-ownership="none">
            <type name="StatsItem" c:type="UpStatsItem*"/>
          </instance-parameter>
          <parameter name="accuracy" transfer-ownership="none">
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value"
              c:identifier="up_stats_item_set_value"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-stats-item.c"
             line="56">Sets the item value.</doc>
        <source-position filename="up-stats-item.h" line="55"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="stats_item" transfer-ownership="none">
            <type name="StatsItem" c:type="UpStatsItem*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <property name="accuracy"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <property name="value"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="StatsItemPrivate" c:type="UpStatsItemPrivate*"/>
      </field>
    </class>
    <record name="StatsItemClass"
            c:type="UpStatsItemClass"
            glib:is-gtype-struct-for="StatsItem">
      <source-position filename="up-stats-item.h" line="49"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="StatsItemPrivate" c:type="UpStatsItemPrivate" disguised="1">
      <source-position filename="up-stats-item.h" line="40"/>
    </record>
    <function-macro name="WAKEUPS"
                    c:identifier="UP_WAKEUPS"
                    introspectable="0">
      <source-position filename="up-wakeups.h" line="39"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="WAKEUPS_CLASS"
                    c:identifier="UP_WAKEUPS_CLASS"
                    introspectable="0">
      <source-position filename="up-wakeups.h" line="40"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="WAKEUPS_GET_CLASS"
                    c:identifier="UP_WAKEUPS_GET_CLASS"
                    introspectable="0">
      <source-position filename="up-wakeups.h" line="43"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="WAKEUP_ITEM"
                    c:identifier="UP_WAKEUP_ITEM"
                    introspectable="0">
      <source-position filename="up-wakeup-item.h" line="35"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="WAKEUP_ITEM_CLASS"
                    c:identifier="UP_WAKEUP_ITEM_CLASS"
                    introspectable="0">
      <source-position filename="up-wakeup-item.h" line="36"/>
      <parameters>
        <parameter name="k">
        </parameter>
      </parameters>
    </function-macro>
    <function-macro name="WAKEUP_ITEM_GET_CLASS"
                    c:identifier="UP_WAKEUP_ITEM_GET_CLASS"
                    introspectable="0">
      <source-position filename="up-wakeup-item.h" line="39"/>
      <parameters>
        <parameter name="o">
        </parameter>
      </parameters>
    </function-macro>
    <class name="WakeupItem"
           c:symbol-prefix="wakeup_item"
           c:type="UpWakeupItem"
           parent="GObject.Object"
           glib:type-name="UpWakeupItem"
           glib:get-type="up_wakeup_item_get_type"
           glib:type-struct="WakeupItemClass">
      <source-position filename="up-wakeup-item.h" line="50"/>
      <constructor name="new"
                   c:identifier="up_wakeup_item_new"
                   version="0.9.0">
        <source-position filename="up-wakeup-item.h" line="53"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="443">a new UpWakeupItem object.</doc>
          <type name="WakeupItem" c:type="UpWakeupItem*"/>
        </return-value>
      </constructor>
      <method name="get_cmdline"
              c:identifier="up_wakeup_item_get_cmdline"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="200">Gets the item cmdline.</doc>
        <source-position filename="up-wakeup-item.h" line="68"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="206">the value</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="202">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_details"
              c:identifier="up_wakeup_item_get_details"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="235">Gets the item details.</doc>
        <source-position filename="up-wakeup-item.h" line="71"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="241">the value</doc>
          <type name="utf8" c:type="const gchar*"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="237">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_id"
              c:identifier="up_wakeup_item_get_id"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="98">Gets the item id.</doc>
        <source-position filename="up-wakeup-item.h" line="59"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="104">the value</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="100">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_is_userspace"
              c:identifier="up_wakeup_item_get_is_userspace"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="64">Gets if the item is userspace.</doc>
        <source-position filename="up-wakeup-item.h" line="56"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="70">the value</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="66">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_old"
              c:identifier="up_wakeup_item_get_old"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="132">Gets the item old.</doc>
        <source-position filename="up-wakeup-item.h" line="62"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="138">the value</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="134">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_value"
              c:identifier="up_wakeup_item_get_value"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="166">Gets the item value.</doc>
        <source-position filename="up-wakeup-item.h" line="65"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeup-item.c"
               line="172">the value</doc>
          <type name="gdouble" c:type="gdouble"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="168">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="set_cmdline"
              c:identifier="up_wakeup_item_set_cmdline"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="217">Sets the item cmdline.</doc>
        <source-position filename="up-wakeup-item.h" line="69"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="219">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
          <parameter name="cmdline" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="220">the new value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_details"
              c:identifier="up_wakeup_item_set_details"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="252">Sets the item details.</doc>
        <source-position filename="up-wakeup-item.h" line="72"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="254">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
          <parameter name="details" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="255">the new value</doc>
            <type name="utf8" c:type="const gchar*"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_id"
              c:identifier="up_wakeup_item_set_id"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="115">Sets the item id.</doc>
        <source-position filename="up-wakeup-item.h" line="60"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="117">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
          <parameter name="id" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="118">the new value</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_is_userspace"
              c:identifier="up_wakeup_item_set_is_userspace"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="81">Sets if the item is userspace.</doc>
        <source-position filename="up-wakeup-item.h" line="57"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="83">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
          <parameter name="is_userspace" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="84">the new value</doc>
            <type name="gboolean" c:type="gboolean"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_old"
              c:identifier="up_wakeup_item_set_old"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="149">Sets the item old.</doc>
        <source-position filename="up-wakeup-item.h" line="63"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="151">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
          <parameter name="old" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="152">the new value</doc>
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </method>
      <method name="set_value"
              c:identifier="up_wakeup_item_set_value"
              version="0.9.0">
        <doc xml:space="preserve"
             filename="up-wakeup-item.c"
             line="183">Sets the item value.</doc>
        <source-position filename="up-wakeup-item.h" line="66"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeup_item" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="185">#UpWakeupItem</doc>
            <type name="WakeupItem" c:type="UpWakeupItem*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeup-item.c"
                 line="186">the new value</doc>
            <type name="gdouble" c:type="gdouble"/>
          </parameter>
        </parameters>
      </method>
      <property name="cmdline"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="details"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="utf8" c:type="gchar*"/>
      </property>
      <property name="id"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </property>
      <property name="is-userspace"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="gboolean" c:type="gboolean"/>
      </property>
      <property name="old"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="guint" c:type="guint"/>
      </property>
      <property name="value"
                version="0.9.0"
                writable="1"
                transfer-ownership="none">
        <type name="gdouble" c:type="gdouble"/>
      </property>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="WakeupItemPrivate" c:type="UpWakeupItemPrivate*"/>
      </field>
    </class>
    <record name="WakeupItemClass"
            c:type="UpWakeupItemClass"
            glib:is-gtype-struct-for="WakeupItem">
      <source-position filename="up-wakeup-item.h" line="50"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
    </record>
    <record name="WakeupItemPrivate"
            c:type="UpWakeupItemPrivate"
            disguised="1">
      <source-position filename="up-wakeup-item.h" line="41"/>
    </record>
    <class name="Wakeups"
           c:symbol-prefix="wakeups"
           c:type="UpWakeups"
           parent="GObject.Object"
           glib:type-name="UpWakeups"
           glib:get-type="up_wakeups_get_type"
           glib:type-struct="WakeupsClass">
      <source-position filename="up-wakeups.h" line="61"/>
      <constructor name="new" c:identifier="up_wakeups_new" version="0.9.1">
        <doc xml:space="preserve"
             filename="up-wakeups.c"
             line="282">Gets a new object to allow querying the wakeups data from the server.</doc>
        <source-position filename="up-wakeups.h" line="64"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-wakeups.c"
               line="287">the a new @UpWakeups object.</doc>
          <type name="Wakeups" c:type="UpWakeups*"/>
        </return-value>
      </constructor>
      <virtual-method name="data_changed">
        <source-position filename="up-wakeups.h" line="58"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeups" transfer-ownership="none">
            <type name="Wakeups" c:type="UpWakeups*"/>
          </instance-parameter>
        </parameters>
      </virtual-method>
      <virtual-method name="total_changed">
        <source-position filename="up-wakeups.h" line="59"/>
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeups" transfer-ownership="none">
            <type name="Wakeups" c:type="UpWakeups*"/>
          </instance-parameter>
          <parameter name="value" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </virtual-method>
      <method name="get_data_sync"
              c:identifier="up_wakeups_get_data_sync"
              version="0.9.1"
              throws="1">
        <doc xml:space="preserve"
             filename="up-wakeups.c"
             line="78">Gets the wakeups data from the daemon.</doc>
        <source-position filename="up-wakeups.h" line="70"/>
        <return-value transfer-ownership="full">
          <doc xml:space="preserve"
               filename="up-wakeups.c"
               line="86">an array of %UpWakeupItem's</doc>
          <array name="GLib.PtrArray" c:type="GPtrArray*">
            <type name="WakeupItem"/>
          </array>
        </return-value>
        <parameters>
          <instance-parameter name="wakeups" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="80">a #UpWakeups instance.</doc>
            <type name="Wakeups" c:type="UpWakeups*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="81">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_has_capability"
              c:identifier="up_wakeups_get_has_capability"
              version="0.9.1">
        <doc xml:space="preserve"
             filename="up-wakeups.c"
             line="178">Returns if the daemon supports getting the wakeup data.</doc>
        <source-position filename="up-wakeups.h" line="78"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeups.c"
               line="184">%TRUE if supported</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeups" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="180">a #UpWakeups instance.</doc>
            <type name="Wakeups" c:type="UpWakeups*"/>
          </instance-parameter>
        </parameters>
      </method>
      <method name="get_properties_sync"
              c:identifier="up_wakeups_get_properties_sync"
              version="0.9.1"
              throws="1">
        <doc xml:space="preserve"
             filename="up-wakeups.c"
             line="158">Gets properties from the daemon about wakeup data.</doc>
        <source-position filename="up-wakeups.h" line="73"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeups.c"
               line="166">%TRUE if supported</doc>
          <type name="gboolean" c:type="gboolean"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeups" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="160">a #UpWakeups instance.</doc>
            <type name="Wakeups" c:type="UpWakeups*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="161">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <method name="get_total_sync"
              c:identifier="up_wakeups_get_total_sync"
              version="0.9.1"
              throws="1">
        <doc xml:space="preserve"
             filename="up-wakeups.c"
             line="50">Gets the the total number of wakeups per second from the daemon.</doc>
        <source-position filename="up-wakeups.h" line="67"/>
        <return-value transfer-ownership="none">
          <doc xml:space="preserve"
               filename="up-wakeups.c"
               line="58">number of wakeups per second.</doc>
          <type name="guint" c:type="guint"/>
        </return-value>
        <parameters>
          <instance-parameter name="wakeups" transfer-ownership="none">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="52">a #UpWakeups instance.</doc>
            <type name="Wakeups" c:type="UpWakeups*"/>
          </instance-parameter>
          <parameter name="cancellable"
                     transfer-ownership="none"
                     nullable="1"
                     allow-none="1">
            <doc xml:space="preserve"
                 filename="up-wakeups.c"
                 line="53">a #GCancellable or %NULL</doc>
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
          </parameter>
        </parameters>
      </method>
      <field name="parent">
        <type name="GObject.Object" c:type="GObject"/>
      </field>
      <field name="priv">
        <type name="WakeupsPrivate" c:type="UpWakeupsPrivate*"/>
      </field>
      <glib:signal name="data-changed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
      </glib:signal>
      <glib:signal name="total-changed" when="last">
        <return-value transfer-ownership="none">
          <type name="none" c:type="void"/>
        </return-value>
        <parameters>
          <parameter name="object" transfer-ownership="none">
            <type name="guint" c:type="guint"/>
          </parameter>
        </parameters>
      </glib:signal>
    </class>
    <record name="WakeupsClass"
            c:type="UpWakeupsClass"
            glib:is-gtype-struct-for="Wakeups">
      <source-position filename="up-wakeups.h" line="61"/>
      <field name="parent_class">
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
      </field>
      <field name="data_changed">
        <callback name="data_changed">
          <source-position filename="up-wakeups.h" line="58"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="wakeups" transfer-ownership="none">
              <type name="Wakeups" c:type="UpWakeups*"/>
            </parameter>
          </parameters>
        </callback>
      </field>
      <field name="total_changed">
        <callback name="total_changed">
          <source-position filename="up-wakeups.h" line="59"/>
          <return-value transfer-ownership="none">
            <type name="none" c:type="void"/>
          </return-value>
          <parameters>
            <parameter name="wakeups" transfer-ownership="none">
              <type name="Wakeups" c:type="UpWakeups*"/>
            </parameter>
            <parameter name="value" transfer-ownership="none">
              <type name="guint" c:type="guint"/>
            </parameter>
          </parameters>
        </callback>
      </field>
    </record>
    <record name="WakeupsPrivate" c:type="UpWakeupsPrivate" disguised="1">
      <source-position filename="up-wakeups.h" line="47"/>
    </record>
  </namespace>
</repository>
