Commit 4a89489e authored by Andreas Henriksson's avatar Andreas Henriksson

Imported Upstream version 0.99.0

parent 56ed5ee0
......@@ -2,7 +2,7 @@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = etc libupower-glib src doc tools policy po
SUBDIRS = etc libupower-glib src doc tools po
if BACKEND_TYPE_LINUX
SUBDIRS += rules
......
......@@ -199,7 +199,7 @@ am__define_uniq_tagged_files = \
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = etc libupower-glib src doc tools policy po rules
DIST_SUBDIRS = etc libupower-glib src doc tools po rules
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
......@@ -278,6 +278,8 @@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GIO_CFLAGS = @GIO_CFLAGS@
GIO_LIBS = @GIO_LIBS@
GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
GMSGFMT = @GMSGFMT@
......@@ -437,7 +439,7 @@ top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
udevrulesdir = @udevrulesdir@
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
SUBDIRS = etc libupower-glib src doc tools policy po $(am__append_1)
SUBDIRS = etc libupower-glib src doc tools po $(am__append_1)
EXTRA_DIST = \
HACKING \
ChangeLog
......
Version 0.9.23
Version 0.99.0
~~~~~~~~~~~~~~
Released: 2013-10-18
Bugfixes:
- Add missing dbus-glib-1 to private requires (Bastien Nocera)
- Disable Watts-Up devices by default (Bastien Nocera)
- Really don't overwrite retval with prop values (Bastien Nocera)
- Update and correct Toshiba recall list (Bastien Nocera)
- daemon: Avoid trying to close fd that wasn't opened (Bastien Nocera)
- daemon: Fix options parsing (Bastien Nocera)
- daemon: Include config.h in up-backend.h (Landry Breuil)
- lib: Add missing "element-type" introspection metadata (Bastien Nocera)
- lib: Fix a small memory leak (Bastien Nocera)
- lib: Fix crasher calling _about_to_sleep_sync() (Bastien Nocera)
- linux: Don't guess discharging state for devices (Bastien Nocera)
- linux: Don't print a warning if the status attr is missing (Bastien Nocera)
- linux: Opt-out of checking Watts Up devices earlier (Bastien Nocera)
- openbsd: Use g_thread_try_new (Landry Breuil)
- openbsd: recognize when battery is absent (Jasper Lievisse Adriaanse)
Released: 2013-10-29
Notes:
- This version contains major API changes. Use the 0.9.* versions if you want
to keep using the old API.
New Features:
- Add WarningLevel and IconName properties to all devices (Bastien Nocera)
- Add DisplayDevice composite battery (Bastien Nocera)
- Enforce critical battery policy on the daemon side (Bastien Nocera)
Bugfixes:
- Reduce client-side and daemon-side wake-ups (Bastien Nocera)
- Emit PropertiesChanged signals (Bastien Nocera)
- Register objects on the bus once they've been setup (Bastien Nocera)
- Clamp percentage for overfull batteries (Martin Pitt)
Feature Removals:
- Remove battery recall support (Bastien Nocera)
- Remove QoS support (Bastien Nocera)
- Remove OnLowBattery property (use WarningLevel instead) (Bastien Nocera)
- Remove DeviceChanged and Changed signals (PropertiesChanged
signals are sent instead) (Bastien Nocera)
Version 0.9.22
~~~~~~~~~~~~~~
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
dnl Process this file with autoconf to produce a configure script.
m4_define([up_major_version], [0])
m4_define([up_minor_version], [9])
m4_define([up_micro_version], [23])
m4_define([up_minor_version], [99])
m4_define([up_micro_version], [0])
m4_define([up_version],
[up_major_version.up_minor_version.up_micro_version])
......@@ -43,8 +43,8 @@ AC_SUBST(UP_MICRO_VERSION)
# CURRENT If the API or ABI interface has changed (reset REVISION to 0)
# REVISION If the API and ABI remains the same, but bugs are fixed.
# AGE Don't use.
LT_CURRENT=1
LT_REVISION=4
LT_CURRENT=2
LT_REVISION=0
LT_AGE=0
AC_SUBST(LT_CURRENT)
AC_SUBST(LT_REVISION)
......@@ -152,11 +152,12 @@ AX_CHECK_LINK_FLAG([-Wl,-z,relro,-z,now],
[RELRO_LDFLAGS="-Wl,-z,relro,-z,now"])
AC_SUBST([RELRO_LDFLAGS])
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.21.5])
PKG_CHECK_MODULES(GLIB, [glib-2.0 >= 2.29.19])
PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.0])
PKG_CHECK_MODULES(DBUS_GLIB, [dbus-glib-1 >= 0.76])
PKG_CHECK_MODULES(POLKIT, polkit-gobject-1 >= 0.97)
PKG_CHECK_MODULES(GIO, [gio-2.0 >= 2.16.1])
PKG_CHECK_MODULES(GIO_UNIX, [gio-unix-2.0])
dnl ====================================================================
dnl Check for systemd
......@@ -165,15 +166,19 @@ AC_ARG_WITH([systemdutildir],
AS_HELP_STRING([--with-systemdutildir=DIR], [Directory for systemd utilities]),
[],
[with_systemdutildir=$($PKG_CONFIG --variable=systemdutildir systemd)])
AC_SUBST([systemdutildir], [$with_systemdutildir])
AM_CONDITIONAL(HAVE_SYSTEMDUTILDIR, [test -n "$with_systemdutildir"])
if test x$with_systemdutildir != xno; then
AC_SUBST([systemdutildir], [$with_systemdutildir])
fi
AM_CONDITIONAL(HAVE_SYSTEMDUTILDIR, [test -n "$systemdutildir"])
AC_ARG_WITH([systemdsystemunitdir],
AS_HELP_STRING([--with-systemdsystemunitdir=DIR], [Directory for systemd service files]),
[],
[with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)])
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
AM_CONDITIONAL(HAVE_SYSTEMDSYSTEMUNITDIR, [test -n "$with_systemdsystemunitdir"])
if test x$with_systemdsystemunitdir != xno; then
AC_SUBST([systemdsystemunitdir], [$with_systemdsystemunitdir])
fi
AM_CONDITIONAL(HAVE_SYSTEMDSYSTEMUNITDIR, [test -n "$systemdsystemunitdir"])
dnl ---------------------------------------------------------------------------
dnl - Compile time default choice of backend
......@@ -250,7 +255,6 @@ doc/Makefile
doc/version.xml
doc/man/Makefile
doc/dbus/Makefile
policy/Makefile
rules/Makefile
libupower-glib/Makefile
libupower-glib/up-version.h
......
......@@ -60,7 +60,6 @@ content_files = \
man/UPower.xml \
dbus/org.freedesktop.UPower.ref.xml \
dbus/org.freedesktop.UPower.Device.ref.xml \
dbus/org.freedesktop.UPower.QoS.ref.xml \
dbus/org.freedesktop.UPower.KbdBacklight.ref.xml \
$(NULL)
......@@ -80,7 +79,6 @@ MAINTAINERCLEANFILES = \
DISTCLEANFILES = \
org.freedesktop.UPower.Device.ref.xml \
org.freedesktop.UPower.KbdBacklight.ref.xml \
org.freedesktop.UPower.QoS.ref.xml \
org.freedesktop.UPower.ref.xml \
upowerd.xml \
upower.xml \
......
......@@ -221,6 +221,8 @@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GIO_CFLAGS = @GIO_CFLAGS@
GIO_LIBS = @GIO_LIBS@
GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
GMSGFMT = @GMSGFMT@
......@@ -440,7 +442,6 @@ content_files = \
man/UPower.xml \
dbus/org.freedesktop.UPower.ref.xml \
dbus/org.freedesktop.UPower.Device.ref.xml \
dbus/org.freedesktop.UPower.QoS.ref.xml \
dbus/org.freedesktop.UPower.KbdBacklight.ref.xml \
$(NULL)
......@@ -461,7 +462,6 @@ MAINTAINERCLEANFILES = \
DISTCLEANFILES = \
org.freedesktop.UPower.Device.ref.xml \
org.freedesktop.UPower.KbdBacklight.ref.xml \
org.freedesktop.UPower.QoS.ref.xml \
org.freedesktop.UPower.ref.xml \
upowerd.xml \
upower.xml \
......@@ -786,11 +786,11 @@ maintainer-clean-generic:
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
@ENABLE_GTK_DOC_FALSE@distclean-local:
@ENABLE_GTK_DOC_FALSE@install-data-local:
@ENABLE_GTK_DOC_FALSE@clean-local:
@ENABLE_GTK_DOC_FALSE@uninstall-local:
@ENABLE_GTK_DOC_FALSE@maintainer-clean-local:
@ENABLE_GTK_DOC_FALSE@uninstall-local:
@ENABLE_GTK_DOC_FALSE@distclean-local:
clean: clean-recursive
clean-am: clean-generic clean-libtool clean-local mostlyclean-am
......
This diff is collapsed.
up_client_get_type
up_client_glue_get_type
up_client_glue_proxy_get_type
up_client_glue_skeleton_get_type
up_device_get_type
up_device_glue_get_type
up_device_glue_proxy_get_type
up_device_glue_skeleton_get_type
up_history_item_get_type
up_qos_item_get_type
up_stats_item_get_type
up_wakeup_item_get_type
up_wakeups_get_type
up_wakeups_glue_get_type
up_wakeups_glue_proxy_get_type
up_wakeups_glue_skeleton_get_type
all : org.freedesktop.UPower.ref.xml org.freedesktop.UPower.Device.ref.xml org.freedesktop.UPower.QoS.ref.xml org.freedesktop.UPower.KbdBacklight.ref.xml org.freedesktop.UPower.Wakeups.ref.xml
all : org.freedesktop.UPower.ref.xml org.freedesktop.UPower.Device.ref.xml org.freedesktop.UPower.KbdBacklight.ref.xml org.freedesktop.UPower.Wakeups.ref.xml
org.freedesktop.UPower.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower.xml $(top_srcdir)/doc/dbus/spec-to-docbook.xsl
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
......@@ -9,10 +9,6 @@ org.freedesktop.UPower.Device.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 >> $@
org.freedesktop.UPower.QoS.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower.QoS.xml $(top_srcdir)/doc/dbus/spec-to-docbook.xsl
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 >> $@
org.freedesktop.UPower.KbdBacklight.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower.KbdBacklight.xml $(top_srcdir)/doc/dbus/spec-to-docbook.xsl
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 >> $@
......
......@@ -154,6 +154,8 @@ GETTEXT_MACRO_VERSION = @GETTEXT_MACRO_VERSION@
GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
GIO_CFLAGS = @GIO_CFLAGS@
GIO_LIBS = @GIO_LIBS@
GIO_UNIX_CFLAGS = @GIO_UNIX_CFLAGS@
GIO_UNIX_LIBS = @GIO_UNIX_LIBS@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
GMSGFMT = @GMSGFMT@
......@@ -506,7 +508,7 @@ uninstall-am:
tags-am uninstall uninstall-am
all : org.freedesktop.UPower.ref.xml org.freedesktop.UPower.Device.ref.xml org.freedesktop.UPower.QoS.ref.xml org.freedesktop.UPower.KbdBacklight.ref.xml org.freedesktop.UPower.Wakeups.ref.xml
all : org.freedesktop.UPower.ref.xml org.freedesktop.UPower.Device.ref.xml org.freedesktop.UPower.KbdBacklight.ref.xml org.freedesktop.UPower.Wakeups.ref.xml
org.freedesktop.UPower.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower.xml $(top_srcdir)/doc/dbus/spec-to-docbook.xsl
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
......@@ -516,10 +518,6 @@ org.freedesktop.UPower.Device.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 >> $@
org.freedesktop.UPower.QoS.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower.QoS.xml $(top_srcdir)/doc/dbus/spec-to-docbook.xsl
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 >> $@
org.freedesktop.UPower.KbdBacklight.ref.xml : $(top_srcdir)/src/org.freedesktop.UPower.KbdBacklight.xml $(top_srcdir)/doc/dbus/spec-to-docbook.xsl
echo "<?xml version=\"1.0\"?>""<!DOCTYPE refentry PUBLIC \"-//OASIS//DTD DocBook XML V4.1.2//EN\" \"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd\">" > $@
$(XSLTPROC) $(top_srcdir)/doc/dbus/spec-to-docbook.xsl $< | tail -n +2 >> $@
......
......@@ -18,11 +18,6 @@ out'a(udu)'data)
out'a(dd)'data)
</synopsis>
</refsynopsisdiv>
<refsect1 role="signal_proto">
<title role="signal_proto.title">Signals</title>
<synopsis><link linkend="Device::Changed">Changed</link>()
</synopsis>
</refsect1>
<refsect1 role="impl_interfaces">
<title role="impl_interfaces.title">Implemented Interfaces</title>
<para>
......@@ -59,9 +54,8 @@ out'a(dd)'data)
<link linkend="Device:IsRechargeable">'IsRechargeable'</link>read'b'
<link linkend="Device:Capacity">'Capacity'</link>read'd'
<link linkend="Device:Technology">'Technology'</link>read'u'
<link linkend="Device:RecallNotice">'RecallNotice'</link>read'b'
<link linkend="Device:RecallVendor">'RecallVendor'</link>read's'
<link linkend="Device:RecallUrl">'RecallUrl'</link>read's'
<link linkend="Device:WarningLevel">'WarningLevel'</link>read'u'
<link linkend="Device:IconName">'IconName'</link>read's'
</synopsis>
</refsect1>
<refsect1 role="desc">
......@@ -240,11 +234,6 @@ out'a(dd)'data)</programlisting></refsect2>
The accuracy of the prediction in percent.
</listitem></itemizedlist></para>
</simpara></listitem></varlistentry></variablelist></refsect1>
<refsect1 role="signals"><title role="signals.title">Signal Details</title><refsect2><title><anchor role="function" id="Device::Changed"/>The Changed signal</title><indexterm><primary>Changed</primary><secondary>Device</secondary></indexterm><programlisting>Changed ()</programlisting></refsect2>
<para>
Some value on the power source changed.
</para>
<variablelist role="params"/></refsect1>
<refsect1 role="property_details"><title role="property_details.title">Property Details</title><refsect2><title><anchor role="function" id="Device:NativePath"/>The "NativePath" property</title><indexterm><primary>NativePath</primary><secondary>Device</secondary></indexterm><programlisting>'NativePath'read's'
</programlisting></refsect2>
<para>
......@@ -470,29 +459,16 @@ out'a(dd)'data)</programlisting></refsect2>
<link linkend="Source:Type"><literal>type</literal></link>
has the value "battery".
</para>
<variablelist role="params"/><refsect2><title><anchor role="function" id="Device:RecallNotice"/>The "RecallNotice" property</title><indexterm><primary>RecallNotice</primary><secondary>Device</secondary></indexterm><programlisting>'RecallNotice'read'b'
</programlisting></refsect2>
<para>
If the device may have been recalled by the vendor due to a suspected
fault.
This key does not imply the device is faulty, only that it approximatly
matches the description from the vendor of units that were recalled.
</para>
<variablelist role="params"/><refsect2><title><anchor role="function" id="Device:RecallVendor"/>The "RecallVendor" property</title><indexterm><primary>RecallVendor</primary><secondary>Device</secondary></indexterm><programlisting>'RecallVendor'read's'
<variablelist role="params"/><refsect2><title><anchor role="function" id="Device:WarningLevel"/>The "WarningLevel" property</title><indexterm><primary>WarningLevel</primary><secondary>Device</secondary></indexterm><programlisting>'WarningLevel'read'u'
</programlisting></refsect2>
<para>
The vendor that is handling the hardware recall.
</para>
<para>
This property is only valid if the property recall-notice is true.
Warning level of the battery:
</para>
<variablelist role="params"/><refsect2><title><anchor role="function" id="Device:RecallUrl"/>The "RecallUrl" property</title><indexterm><primary>RecallUrl</primary><secondary>Device</secondary></indexterm><programlisting>'RecallUrl'read's'
<para><itemizedlist><listitem><emphasis role="bold">0: </emphasis>Unknown</listitem><listitem><emphasis role="bold">1: </emphasis>None</listitem><listitem><emphasis role="bold">2: </emphasis>Discharging (only for UPSes)</listitem><listitem><emphasis role="bold">3: </emphasis>Low</listitem><listitem><emphasis role="bold">4: </emphasis>Critical</listitem><listitem><emphasis role="bold">5: </emphasis>Action</listitem></itemizedlist></para>
<variablelist role="params"/><refsect2><title><anchor role="function" id="Device:IconName"/>The "IconName" property</title><indexterm><primary>IconName</primary><secondary>Device</secondary></indexterm><programlisting>'IconName'read's'
</programlisting></refsect2>
<para>
The URL to visit about the hardware recall.
</para>
<para>
This property is only valid if the property recall-notice is true.
An icon name, following the Icon Naming Specification
</para>
<variablelist role="params"/></refsect1>
</refentry>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,34 +2,31 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>org.freedesktop.UPower.KbdBacklight</title>
<title>UPower Reference Manual: org.freedesktop.UPower.KbdBacklight</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="UPower Reference Manual">
<link rel="up" href="ref-dbus.html" title="D-Bus API Reference">
<link rel="prev" href="QoS.html" title="org.freedesktop.UPower.QoS">
<link rel="prev" href="Device.html" title="org.freedesktop.UPower.Device">
<link rel="next" href="libupower-glib.html" title="libupower-glib GObjects">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="QoS.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ref-dbus.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">UPower Reference Manual</th>
<td><a accesskey="n" href="libupower-glib.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#KbdBacklight.synopsis" class="shortcut">Top</a>
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
 | 
<a href="#KbdBacklight.description" class="shortcut">Description</a>
 | 
<a href="#KbdBacklight.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
 | 
<a href="#KbdBacklight.signals" class="shortcut">Signals</a>
</td></tr>
</table>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ref-dbus.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="Device.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libupower-glib.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="KbdBacklight"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
......@@ -47,12 +44,12 @@
</pre>
</div>
<div class="refsect1">
<a name="id-1.2.6.4"></a><h2>Signals</h2>
<a name="id-1.2.5.4"></a><h2>Signals</h2>
<pre class="synopsis"><a class="link" href="KbdBacklight.html#KbdBacklight::BrightnessChanged">BrightnessChanged</a>('i'value)
</pre>
</div>
<div class="refsect1">
<a name="id-1.2.6.5"></a><h2>Implemented Interfaces</h2>
<a name="id-1.2.5.5"></a><h2>Implemented Interfaces</h2>
<p>
Objects implementing org.freedesktop.UPower.KbdBacklight also implements
org.freedesktop.DBus.Introspectable,
......@@ -60,7 +57,7 @@
</p>
</div>
<div class="refsect1">
<a name="id-1.2.6.6"></a><h2>Description</h2>
<a name="id-1.2.5.6"></a><h2>Description</h2>
<p>
</p>
......@@ -74,9 +71,9 @@
</p>
</div>
<div class="refsect1">
<a name="id-1.2.6.7"></a><h2>Details</h2>
<a name="id-1.2.5.7"></a><h2>Details</h2>
<div class="refsect2">
<a name="id-1.2.6.7.2"></a><h3>
<a name="id-1.2.5.7.2"></a><h3>
<a name="KbdBacklight.GetMaxBrightness"></a>GetMaxBrightness ()</h3>
<pre class="programlisting">GetMaxBrightness (out'i'value)</pre>
</div>
......@@ -96,7 +93,7 @@
</tr></tbody>
</table></div>
<div class="refsect3">
<a name="id-1.2.6.7.5"></a><h4>Errors</h4>
<a name="id-1.2.5.7.5"></a><h4>Errors</h4>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
......@@ -110,7 +107,7 @@
</div>
<hr>
<div class="refsect2">
<a name="id-1.2.6.7.6"></a><h3>
<a name="id-1.2.5.7.6"></a><h3>
<a name="KbdBacklight.GetBrightness"></a>GetBrightness ()</h3>
<pre class="programlisting">GetBrightness (out'i'value)</pre>
</div>
......@@ -130,7 +127,7 @@
</tr></tbody>
</table></div>
<div class="refsect3">
<a name="id-1.2.6.7.9"></a><h4>Errors</h4>
<a name="id-1.2.5.7.9"></a><h4>Errors</h4>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
......@@ -144,7 +141,7 @@
</div>
<hr>
<div class="refsect2">
<a name="id-1.2.6.7.10"></a><h3>
<a name="id-1.2.5.7.10"></a><h3>
<a name="KbdBacklight.SetBrightness"></a>SetBrightness ()</h3>
<pre class="programlisting">SetBrightness (in'i'value)</pre>
</div>
......@@ -164,7 +161,7 @@
</tr></tbody>
</table></div>
<div class="refsect3">
<a name="id-1.2.6.7.13"></a><h4>Errors</h4>
<a name="id-1.2.5.7.13"></a><h4>Errors</h4>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
......@@ -178,9 +175,9 @@
</div>
</div>
<div class="refsect1">
<a name="id-1.2.6.8"></a><h2>Signal Details</h2>
<a name="id-1.2.5.8"></a><h2>Signal Details</h2>
<div class="refsect2">
<a name="id-1.2.6.8.2"></a><h3>
<a name="id-1.2.5.8.2"></a><h3>
<a name="KbdBacklight::BrightnessChanged"></a>The BrightnessChanged signal</h3>
<pre class="programlisting">BrightnessChanged ('i'value)</pre>
</div>
......@@ -203,6 +200,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -2,30 +2,27 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>up-stats-item</title>
<title>UPower Reference Manual: up-stats-item</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="UPower Reference Manual">
<link rel="up" href="libupower-glib.html" title="libupower-glib GObjects">
<link rel="prev" href="UPower-up-qos-item.html" title="up-qos-item">
<link rel="prev" href="UPower-up-history-item.html" title="up-history-item">
<link rel="next" href="UPower-up-wakeup-item.html" title="up-wakeup-item">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="UPower-up-qos-item.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libupower-glib.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">UPower Reference Manual</th>
<td><a accesskey="n" href="UPower-up-wakeup-item.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#UPower-up-stats-item.synopsis" class="shortcut">Top</a>
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left">
<a href="#" class="shortcut">Top</a>
 | 
<a href="#UPower-up-stats-item.description" class="shortcut">Description</a>
</td></tr>
</table>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="libupower-glib.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="UPower-up-history-item.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="UPower-up-wakeup-item.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="UPower-up-stats-item"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
......@@ -37,13 +34,13 @@
</tr></table></div>
<div class="refsynopsisdiv">
<a name="UPower-up-stats-item.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-accuracy" title="up_stats_item_get_accuracy ()">up_stats_item_get_accuracy</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);
<pre class="synopsis"><span class="returnvalue">UpStatsItem</span> * <a class="link" href="UPower-up-stats-item.html#up-stats-item-new" title="up_stats_item_new ()">up_stats_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-value" title="up_stats_item_get_value ()">up_stats_item_get_value</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);
<span class="returnvalue">UpStatsItem</span> * <a class="link" href="UPower-up-stats-item.html#up-stats-item-new" title="up_stats_item_new ()">up_stats_item_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-accuracy" title="up_stats_item_set_accuracy ()">up_stats_item_set_accuracy</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-value" title="up_stats_item_set_value ()">up_stats_item_set_value</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> <a class="link" href="UPower-up-stats-item.html#up-stats-item-get-accuracy" title="up_stats_item_get_accuracy ()">up_stats_item_get_accuracy</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);
<span class="returnvalue">void</span> <a class="link" href="UPower-up-stats-item.html#up-stats-item-set-accuracy" title="up_stats_item_set_accuracy ()">up_stats_item_set_accuracy</a> (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);
</pre>
</div>
<div class="refsect1">
......@@ -59,24 +56,6 @@ See also: <span class="type">UpDevice</span>, <span class="type">UpClient</span>
<div class="refsect1">
<a name="UPower-up-stats-item.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="up-stats-item-get-accuracy"></a><h3>up_stats_item_get_accuracy ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_stats_item_get_accuracy (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);</pre>
<p>
Gets the item accuracy.
</p>
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2">
<a name="up-stats-item-get-value"></a><h3>up_stats_item_get_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_stats_item_get_value (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);</pre>
<p>
Gets the item value.
</p>
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2">
<a name="up-stats-item-new"></a><h3>up_stats_item_new ()</h3>
<pre class="programlisting"><span class="returnvalue">UpStatsItem</span> * up_stats_item_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="variablelist"><table border="0" class="variablelist">
......@@ -93,11 +72,10 @@ Gets the item value.
</div>
<hr>
<div class="refsect2">
<a name="up-stats-item-set-accuracy"></a><h3>up_stats_item_set_accuracy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> up_stats_item_set_accuracy (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);</pre>
<a name="up-stats-item-get-value"></a><h3>up_stats_item_get_value ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_stats_item_get_value (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);</pre>
<p>
Sets the item accuracy.
Gets the item value.
</p>
<p class="since">Since 0.9.0</p>
</div>
......@@ -111,10 +89,29 @@ Sets the item value.
</p>
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2">
<a name="up-stats-item-get-accuracy"></a><h3>up_stats_item_get_accuracy ()</h3>
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a> up_stats_item_get_accuracy (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>);</pre>
<p>
Gets the item accuracy.
</p>
<p class="since">Since 0.9.0</p>
</div>
<hr>
<div class="refsect2">
<a name="up-stats-item-set-accuracy"></a><h3>up_stats_item_set_accuracy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span> up_stats_item_set_accuracy (<em class="parameter"><code><span class="type">UpStatsItem</span> *stats_item</code></em>,
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> accuracy</code></em>);</pre>
<p>
Sets the item accuracy.
</p>
<p class="since">Since 0.9.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
......@@ -2,22 +2,22 @@
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>UPower</title>
<title>UPower Reference Manual: UPower</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="UPower Reference Manual">
<link rel="up" href="tools-fileformats.html" title="Manual Pages">
<link rel="prev" href="tools-fileformats.html" title="Manual Pages">
<link rel="next" href="upowerd.8.html" title="upowerd">
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
<meta name="generator" content="GTK-Doc V1.19.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="tools-fileformats.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="tools-fileformats.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">UPower Reference Manual</th>
<td><a accesskey="n" href="upowerd.8.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
<td width="100%" align="left"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="tools-fileformats.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="tools-fileformats.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="upowerd.8.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="UPower.7"></a><div class="titlepage"></div>
......@@ -67,6 +67,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.19</div>
Generated by GTK-Doc V1.19.1</div>
</body>
</html>
\ No newline at end of file