%general-entities; ]> $LastChangedBy$ $Date$ UPower-&upower-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. &lfs90_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; UPower Dependencies Required , , , and Optional (Required if building GNOME) Optional , , umockdev, and python-dbusmock (for part of the testsuite). User Notes: Kernel Configuration Enable the following options in the kernel configuration and recompile the kernel if necessary: General Setup ---> [*] Namespaces support ---> [CONFIG_NAMESPACES] [*] User namespace [CONFIG_USER_NS] upower Installation of UPower Install UPower by running the following commands: ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-deprecated \ --disable-static && make To test the results, issue: make check. Some checks may not pass due to missing files. Test suite should be run from a local GUI session started with dbus-launch. Now, as the root user: make install Command Explanations --enable-deprecated: This switch enables deprecated functionality which is still needed by some applications. Configuring UPower Systemd Unit To start the UPower service at boot, enable the previously installed systemd unit by running the following command as the root user: upower systemctl enable upower Contents Installed Program Installed Libraries Installed Directories upower libupower-glib.so /etc/UPower, /usr/include/libupower-glib, and /var/lib/upower Short Descriptions upower is the UPower command line tool. upower libupower-glib.so contains the UPower API functions. libupower-glib.so