%general-entities; ]> $LastChangedBy$ $Date$ UPower-&upower1-version; UPower 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. &lfs76_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &upower-md5sum; Download size: &upower-size; Estimated disk space required: &upower-buildsize; Estimated build time: &upower-time; Additional Downloads Required patch: UPower Dependencies Required , , , and (for GUdev and Logind) Optional (Required if building GNOME) Optional , (used only in the testsuite) and libimobiledevice User Notes: Installation of UPower Install UPower by running the following commands: patch -Np1 -i ../upower-&upower1-version;-upstream_fixes-1.patch && ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --disable-static && make To test the results, issue: make check. Test suite should be run from a local GUI session started with dbus-launch. Now, as the root user: make install Command Explanations Configuring your kernel for UPower To use the command upower -w for information about processor wakeups (this command is used by gnome-power-manager) 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'. Systemd Units To start the upowerd daemon at boot, enable the previously installed systemd unit by running the following command as the root user: upower systemctl enable upower Contents Installed Programs Installed Libraries Installed Directories upower and upowerd libupower-glib.so /etc/UPower, /usr/include/libupower-glib, and /var/lib/upower Short Descriptions upower is the UPower command line tool. upower upowerd is the UPower Daemon. It provides the org.freedesktop.UPower service on the system message bus. upowerd libupower-glib.so contains the UPower API functions. libupower-glib.so