- Timestamp:
- 01/21/2024 07:32:55 AM (8 months ago)
- 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)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
general/sysutils/upower.xml
r6fa3e04 r51a5ecb 216 216 <filename>/usr/lib/pkgconfig/libudev.pc</filename> 217 217 </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. See226 https://patchwork.kernel.org/patch/9561519227 and https://bugs.freedesktop.org/show_bug.cgi?id=100626228 229 <para>230 To use the command <command>upower -w</command> for information about231 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 in234 <command>make menuconfig</command> by going to the 'kernel-hacking'235 menu and selecting 'Collect kernel timers statistics'.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 by244 running the following command as the245 <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>255 218 256 219 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.