UPower-0.9.1

Introduction to UPower

The UPower package provides an interface to enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus.

This package is known to build and work properly using an LFS-6.5 platform.

Package Information

UPower Dependencies

Required

polkit-0.102 and udev-Installed LFS Version (with gudev)

Optional

GTK-Doc-1.18

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/upower

Installation of UPower

Install UPower by running the following commands:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --libexecdir=/usr/lib/upower &&
make

To test the results, issue: make check.

Now, as the root user:

make install

Command Explanations

--enable-gtk-doc: Use this parameter if GTK-Doc is installed and you wish to rebuild and install the API documentation.

Contents

Installed Programs: upower and upowerd
Installed Libraries: libdevkit-power-gobject.{so,a} and libupower-glib.{so,a}
Installed Directories: /usr/{include/{DeviceKit-power/devkit-power-gobject, libupower-glib},lib/upower}, /var/lib/upower

Short Descriptions

upower

is the UPower command line tool.

upowerd

is the UPower Daemon. It provides the org.freedesktop.UPower service on the system message bus.

libdevkit-power-gobject.{so,a}

contains the old DeviceKit-power API functions.

libupower-glib.{so,a}

contains the UPower API functions.

Last updated on 2010-08-22 13:35:17 +0000