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-7.3 platform.
Download (HTTP): http://upower.freedesktop.org/releases/upower-0.9.20.tar.xz
Download MD5 sum: f175984d142dc8d2353a7da609836b69
Download size: 404 KB
Estimated disk space required: 13 MB
Estimated build time: 0.2 SBU
Install UPower by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --libexecdir=/usr/lib/upower \ --enable-deprecated \ --disable-static && make
To test the results, issue: make check.
Now, as the
--enable-deprecated: This switch
enables deprecated functionality which is still needed by some
switch prevents installation of static versions of the libraries.
--enable-gtk-doc: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
To use the command upower -w for information about processor wakeups (this command is used by gnome-power-manager-3.6.0) you need to enable CONFIG_TIMER_STATS. This is achieved in make menuconfig by going to the 'kernel-hacking' menu and selecting 'Collect kernel timers statistics'.
Last updated on 2013-03-24 15:41:54 +0000