%general-entities; ]> Power-profiles-daemon-&power-profiles-daemon-version; power-profiles-daemon Introduction to Power-profiles-daemon The Power-profiles-daemon package provides a program that allows modification of the system power/behavior state. This is used on many laptops and can be used by a Desktop Environment to activate power saving or performance CPU governors through dbus. On other systems, Power-profiles-daemon can be used as a streamlined way to set the CPU governor in order to increase system performance at the cost of energy usage. &lfs121_checked; Package Information Download (HTTP): Download (FTP): Download MD5 sum: &power-profiles-daemon-md5sum; Download size: &power-profiles-daemon-size; Estimated disk space required: &power-profiles-daemon-buildsize; Estimated build time: &power-profiles-daemon-time; Power-profiles-daemon Dependencies Required , , and , Optional , The rest are for the tests, , , isort, and mccabe Kernel Configuration Enable the following options in the kernel configuration and recompile the kernel if necessary: Select the appropriate sub-options that appear when the above options are selected. As much as possible, the layout should be the same as in kernel configuration menus. Power-profiles-daemon Installation of Power-profiles-daemon Install Power-profiles-daemon by running the following commands: mkdir build && cd build && meson setup \ --prefix=/usr \ --buildtype=release \ -Dgtk_doc=false \ -Dtests=false \ -Dsystemdsystemunitdir=/tmp \ .. && ninja mkdir build && cd build && meson setup \ --prefix=/usr \ --buildtype=release \ -Dgtk_doc=false \ -Dtests=false \ .. && ninja If you have installed the external dependencies, to test the results issue: ninja test. Now, as the root user: ninja install Now, clean up an unneeded systemd unit installed into /tmp: rm -fv /tmp/power-profiles-daemon.service Create a directory required for persistant power states after reboot: install -vdm755 /var/lib/power-profiles-daemon Command Explanations -Dgtk_doc=false: Prevents building the documentation. Remove this if you have GTK-Doc installed and wish to build the documentation. -Dtests=false: Prevents building the tests because they cannot be run within the boundaries of BLFS. Remove this if you have installed the external dependencies and wish to run the tests. -Dsystemdsystemunitdir=/tmp: Removes the dependency on systemd. Configuring Power-profiles-daemon Boot Script To automatically start the power-profiles-daemon when the system is rebooted, install the /etc/rc.d/init.d/power-profiles-daemon bootscript from the as the root user: power-profiles-daemon make install-power-profiles-daemon Systemd Unit To start the power-profiles-daemon on boot, enable the systemd service that was installed by running the following command as the root user: systemctl enable power-profiles-daemon Select a Power Profile To list all supported power profiles, issue: powerprofilesctl To activate a power profile (for example performance), issue: powerprofilesctl set performance Some desktop environments (for example GNOME and KDE) also provide a graphical interface to interact with power-profiles-daemon and activate a power profile. The activated power profile is automatically stored in /var/lib/power-profiles-daemon/state.ini and power-profiles-daemon will read it out and activate it again on the next boot if the bootscript is installedSystemd unit is enabled as above. Contents Installed Program Installed Libraries Installed Directories powerprofilesctl None None Short Descriptions powerprofilesctl This allows the user to set the power governor of the CPU. powerprofilesctl