Opened 4 months ago

Closed 3 months ago

#19086 closed enhancement (fixed)

Adding power-profiles-daemon

Reported by: Rahul Chandra Owned by: Rahul Chandra
Priority: normal Milestone: 12.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

power-profiles-daemon is a programming that allows for power management within the GUI of gnome and kde. It saves a lot of battery life and allows for on-the-fly cpu governor switching and Wifi card power mode tuning.

https://gitlab.freedesktop.org/upower/power-profiles-daemon

I will get around to adding this later this week but please leave any comments here.

Change History (10)

comment:1 by Rahul Chandra, 4 months ago

Owner: changed from blfs-book to Rahul Chandra
Status: newassigned

comment:2 by Rahul Chandra, 3 months ago

Branch created @ e01986a236596d1b9cab522e3080563eb2df2f98

Bootscript updated @ 3f18cdac557c2dc30f3d6108b911acea383254fc in blfs-bootscripts

comment:3 by Rahul Chandra, 3 months ago

If someone could test the build and function, especially on sysv that would be great. It's easiest to test on gnome and plasma, just go to the menu or battery in the respective D.E and look for a new power modes option (you might have to log out and log back in but you shouldn't need to rebuild anything)

in reply to:  3 comment:4 by Douglas R. Reno, 3 months ago

Replying to Rahul Chandra:

If someone could test the build and function, especially on sysv that would be great. It's easiest to test on gnome and plasma, just go to the menu or battery in the respective D.E and look for a new power modes option (you might have to log out and log back in but you shouldn't need to rebuild anything)

I got you, will work on that tomorrow and over the weekend. :)

comment:5 by Douglas R. Reno, 3 months ago

Hi Rahul,

I haven't started working on building/testing this yet, but I did do a quick glance over the page.

Is there a missing dependency in the list? I've got " gobject-introspection-1.78.1. libgudev-238. polkit-gnome-0.105, and "

Style wise there's a couple tweaks that I think we should make, but otherwise this page looks pretty good! The tweaks are:

  • Replace periods with commas in the dependencies for gobject-introspection/libgudev
  • Align the backslashes in the meson options
  • Align the text in the Short Description for powerprofilesctl to be at the same level as the <primary [...]> in the indexterm.

After doing a round of tickets and some updates I will begin working on testing this package. :)

comment:6 by Rahul Chandra, 3 months ago

Okay just 1 and 2 taken care of, I don't quite know what you mean by "Align the text to be at the same level" in the HTML it looks the same to me as the other pages, and in the XML it is also basically the same as the other XML files in the book.

Let me know if there's anything else I need to take care of

in reply to:  6 comment:7 by Douglas R. Reno, 3 months ago

Replying to Rahul Chandra:

Okay just 1 and 2 taken care of, I don't quite know what you mean by "Align the text to be at the same level" in the HTML it looks the same to me as the other pages, and in the XML it is also basically the same as the other XML files in the book.

Let me know if there's anything else I need to take care of

Thank you for taking care of number 1 :)

Here's what I'm looking at in the XML file:

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
     powerprofilesctl
        </seg>
        <seg>
     None
        </seg>
        <seg>
     None
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="powerprofilesctl">
        <term><command>powerprofilesctl</command></term>
        <listitem>
          <para>
            This allows the user to set the power governor of the
       CPU.
          </para>
          <indexterm zone="powerprofilesctl">
            <primary sortas="b-powerprofilesctl">powerprofilesctl</primary>
          </indexterm>
        </listitem>
      </varlistentry>

There are tab characters here that are causing things to be out of alignment (please use spaces), here's what it should look like properly aligned:

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          powerprofilesctl
        </seg>
        <seg>
          None
        </seg>
        <seg>
          None
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="powerprofilesctl">
        <term><command>powerprofilesctl</command></term>
        <listitem>
          <para>
            This allows the user to set the power governor of the
            CPU.
          </para>
          <indexterm zone="powerprofilesctl">
            <primary sortas="b-powerprofilesctl">powerprofilesctl</primary>
          </indexterm>
        </listitem>
      </varlistentry>

I'm still working on testing/verifying, should have that good to go within the next day or two

comment:8 by Rahul Chandra, 3 months ago

Just fixed that and a couple of other typos.

comment:9 by Rahul Chandra, 3 months ago

Final fix @ d4dbb34a396a98d7352878c5d2be3e6f30c875a9, rahul/power-profiles-daemon merged to trunk and currency script has been added.

comment:10 by Rahul Chandra, 3 months ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.