Changeset 51a5ecb for general


Ignore:
Timestamp:
01/21/2024 07:32:55 AM (8 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.1, 12.2, gimp3, ken/TL2024, lazarus, plabs/newcss, rahul/power-profiles-daemon, trunk, xry111/for-12.3, xry111/llvm18, xry111/spidermonkey128
Children:
a2382c6
Parents:
6fa3e04
git-author:
Xi Ruoyao <xry111@…> (01/20/2024 10:44:56 AM)
git-committer:
Xi Ruoyao <xry111@…> (01/21/2024 07:32:55 AM)
Message:

upower: Remove systemd unit enabling

It's only slowing down the boot, just let D-Bus activate it as-needed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/sysutils/upower.xml

    r6fa3e04 r51a5ecb  
    216216      <filename>/usr/lib/pkgconfig/libudev.pc</filename>
    217217    </para>
    218 
    219   </sect2>
    220 
    221   <sect2 role="configuration" revision="systemd">
    222 
    223     <title>Configuring UPower</title>
    224 <!-- timer statistics have been removed from kernel (since 4.11)
    225      I do not know if there is a replacement. See
    226      https://patchwork.kernel.org/patch/9561519
    227      and https://bugs.freedesktop.org/show_bug.cgi?id=100626
    228 
    229     <para>
    230       To use the command <command>upower -w</command> for information about
    231       processor wakeups (this command is used by <phrase revision="sysv">
    232       <ulink url="&gnome-download-http;/gnome-power-manager/">gnome-power-manager</ulink></phrase><phrase revision="systemd"><xref linkend="gnome-power-manager"/></phrase>)
    233       you need to enable CONFIG_TIMER_STATS.  This is achieved in
    234       <command>make menuconfig</command> by going to the &apos;kernel-hacking&apos;
    235       menu and selecting &apos;Collect kernel timers statistics&apos;.
    236     </para>
    237 -->
    238     <sect3  id="upower-init">
    239       <title>Systemd Unit</title>
    240 
    241       <para>
    242         To start the <command>UPower</command> service at boot,
    243         enable the previously installed systemd unit by
    244         running the following command as the
    245         <systemitem class="username">root</systemitem> user:
    246       </para>
    247 
    248       <indexterm zone="upower upower-init">
    249         <primary sortas="f-upower">upower</primary>
    250       </indexterm>
    251 
    252 <screen role="root"><userinput>systemctl enable upower</userinput></screen>
    253 
    254     </sect3>
    255218
    256219  </sect2>
Note: See TracChangeset for help on using the changeset viewer.