summaryrefslogtreecommitdiff
path: root/doc/man/devkit-power.xml
blob: fd25a79b7fcd893d9ff6008599d7bbb22a971520 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<refentry id="devkit-power.1">
  <refentryinfo>
    <title>devkit-power</title>
    <date>April 2008</date>
    <productname>devkit-power</productname>
  </refentryinfo>

  <refmeta>
    <refentrytitle>devkit-power</refentrytitle>
    <manvolnum>1</manvolnum>
    <refmiscinfo class="version"></refmiscinfo>
  </refmeta>

  <refnamediv>
    <refname>devkit-power</refname>
    <refpurpose>DeviceKit-power command line tool</refpurpose>
  </refnamediv>

  <refsynopsisdiv>
    <cmdsynopsis>
      <command>devkit-power</command>
      <arg><option>--enumerate</option></arg>
      <arg><option>--monitor</option></arg>
      <arg><option>--monitor-detail</option></arg>
      <arg><option>--help</option></arg>
    </cmdsynopsis>
  </refsynopsisdiv>


  <refsect1><title>DESCRIPTION</title>
    <para>
      <emphasis><refentrytitle>devkit-power</refentrytitle></emphasis> is a
      simple command line client for the
      <citerefentry><refentrytitle>DeviceKit-power</refentrytitle><manvolnum>7</manvolnum></citerefentry>
      daemon. TODO: not fully documented.
    </para>
  </refsect1>

  <refsect1>
    <title>OPTIONS</title>
    <variablelist>
      <varlistentry>
        <term><option>--monitor</option></term>
        <listitem>
          <para>
            Connect to the DeviceKit-power daemon and print a line
            every time a power source is added, removed or changed.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--monitor-detail</option></term>
        <listitem>
          <para>
            Like <option>--monitor</option> but prints the full
            details of the power source whenever an event happens.
          </para>
        </listitem>
      </varlistentry>
      <varlistentry>
        <term><option>--help</option></term>
        <listitem>
          <para>
            Show help options.
          </para>
        </listitem>
      </varlistentry>
    </variablelist>
  </refsect1>

  <refsect1><title>AUTHOR</title>
    <para>
      Written by David Zeuthen <email>david@fubar.dk</email> with
      a lot of help from many others.
    </para>
  </refsect1>

  <refsect1>
    <title>BUGS</title>
    <para>
      Please send bug reports to either the distribution or the
      hal mailing list,
      see <ulink url="http://lists.freedesktop.org/mailman/listinfo/hal"/>
      on how to subscribe.
    </para>
  </refsect1>

  <refsect1>
    <title>SEE ALSO</title>
    <para>
      <citerefentry>
        <refentrytitle>devkit-power-daemon</refentrytitle><manvolnum>8</manvolnum>
      </citerefentry>,
      <citerefentry>
        <refentrytitle>DeviceKit-power</refentrytitle><manvolnum>7</manvolnum>
      </citerefentry>,
    </para>
  </refsect1>
</refentry>