| 1 |
<refentry id="upower.1"> |
| 2 |
<refentryinfo> |
| 3 |
<title>upower</title> |
| 4 |
<date>April 2008</date> |
| 5 |
<productname>upower</productname> |
| 6 |
</refentryinfo> |
| 7 |
|
| 8 |
<refmeta> |
| 9 |
<refentrytitle>upower</refentrytitle> |
| 10 |
<manvolnum>1</manvolnum> |
| 11 |
<refmiscinfo class="version"></refmiscinfo> |
| 12 |
</refmeta> |
| 13 |
|
| 14 |
<refnamediv> |
| 15 |
<refname>upower</refname> |
| 16 |
<refpurpose>UPower command line tool</refpurpose> |
| 17 |
</refnamediv> |
| 18 |
|
| 19 |
<refsynopsisdiv> |
| 20 |
<cmdsynopsis> |
| 21 |
<command>upower</command> |
| 22 |
<arg><option>--battery</option></arg> |
| 23 |
<arg><option>--dump</option></arg> |
| 24 |
<arg><option>--enumerate</option></arg> |
| 25 |
<arg><option>--monitor-detail</option></arg> |
| 26 |
<arg><option>--monitor</option></arg> |
| 27 |
<arg><option>--show-info</option></arg> |
| 28 |
<arg><option>--version</option></arg> |
| 29 |
<arg><option>--help</option></arg> |
| 30 |
</cmdsynopsis> |
| 31 |
</refsynopsisdiv> |
| 32 |
|
| 33 |
|
| 34 |
<refsect1><title>DESCRIPTION</title> |
| 35 |
<para> |
| 36 |
<emphasis><refentrytitle>upower</refentrytitle></emphasis> is a |
| 37 |
simple command line client for the |
| 38 |
<citerefentry><refentrytitle>UPower</refentrytitle><manvolnum>7</manvolnum></citerefentry> |
| 39 |
daemon. |
| 40 |
</para> |
| 41 |
</refsect1> |
| 42 |
|
| 43 |
<refsect1> |
| 44 |
<title>OPTIONS</title> |
| 45 |
<variablelist> |
| 46 |
<varlistentry> |
| 47 |
<term><option>-b</option>, <option>--battery</option></term> |
| 48 |
<listitem> |
| 49 |
<para> |
| 50 |
Dump all parameters for battery devices. |
| 51 |
</para> |
| 52 |
</listitem> |
| 53 |
</varlistentry> |
| 54 |
<varlistentry> |
| 55 |
<term><option>-d</option>, <option>--dump</option></term> |
| 56 |
<listitem> |
| 57 |
<para> |
| 58 |
Dump all parameters for all devices. |
| 59 |
</para> |
| 60 |
</listitem> |
| 61 |
</varlistentry> |
| 62 |
<varlistentry> |
| 63 |
<term><option>-e</option>, <option>--enumerate</option></term> |
| 64 |
<listitem> |
| 65 |
<para> |
| 66 |
Enumerate the object paths of all devices on the system. |
| 67 |
</para> |
| 68 |
</listitem> |
| 69 |
</varlistentry> |
| 70 |
<varlistentry> |
| 71 |
<term><option>-m</option>, <option>--monitor</option></term> |
| 72 |
<listitem> |
| 73 |
<para> |
| 74 |
Connect to the UPower daemon and print a line |
| 75 |
every time a power source is added, removed or changed. |
| 76 |
</para> |
| 77 |
</listitem> |
| 78 |
</varlistentry> |
| 79 |
<varlistentry> |
| 80 |
<term><option>--monitor-detail</option></term> |
| 81 |
<listitem> |
| 82 |
<para> |
| 83 |
Like <option>--monitor</option> but prints the full |
| 84 |
details of the power source whenever an event happens. |
| 85 |
</para> |
| 86 |
</listitem> |
| 87 |
</varlistentry> |
| 88 |
<varlistentry> |
| 89 |
<term><option>-i</option>, <option>--show-info</option> <varname>OBJECT_PATH</varname></term> |
| 90 |
<listitem> |
| 91 |
<para> |
| 92 |
Show information about the given device. |
| 93 |
</para> |
| 94 |
</listitem> |
| 95 |
</varlistentry> |
| 96 |
<varlistentry> |
| 97 |
<term><option>-v</option>, <option>--version</option></term> |
| 98 |
<listitem> |
| 99 |
<para> |
| 100 |
Print version information for the client and daemon. |
| 101 |
</para> |
| 102 |
</listitem> |
| 103 |
</varlistentry> |
| 104 |
<varlistentry> |
| 105 |
<term><option>-h</option>, <option>--help</option></term> |
| 106 |
<listitem> |
| 107 |
<para> |
| 108 |
Show help options. |
| 109 |
</para> |
| 110 |
</listitem> |
| 111 |
</varlistentry> |
| 112 |
</variablelist> |
| 113 |
</refsect1> |
| 114 |
|
| 115 |
<refsect1><title>AUTHOR</title> |
| 116 |
<para> |
| 117 |
Written by David Zeuthen <email>[email protected]</email> with |
| 118 |
a lot of help from many others. |
| 119 |
</para> |
| 120 |
</refsect1> |
| 121 |
|
| 122 |
<refsect1> |
| 123 |
<title>BUGS</title> |
| 124 |
<para> |
| 125 |
Please send bug reports to either the distribution or the |
| 126 |
DeviceKit mailing list, |
| 127 |
see <ulink url="http://lists.freedesktop.org/mailman/listinfo/devkit-devel"/> |
| 128 |
on how to subscribe. |
| 129 |
</para> |
| 130 |
</refsect1> |
| 131 |
|
| 132 |
<refsect1> |
| 133 |
<title>SEE ALSO</title> |
| 134 |
<para> |
| 135 |
<citerefentry> |
| 136 |
<refentrytitle>upowerd</refentrytitle><manvolnum>8</manvolnum> |
| 137 |
</citerefentry>, |
| 138 |
<citerefentry> |
| 139 |
<refentrytitle>UPower</refentrytitle><manvolnum>7</manvolnum> |
| 140 |
</citerefentry>, |
| 141 |
</para> |
| 142 |
</refsect1> |
| 143 |
</refentry> |