Hi,

This adds a mention to apmd(8) on afterboot(8).  Original idea is from
kmos@, crappy wording is mine (corrections/suggestions welcome).

ok to commit ?

diff b8464fd1ac0e783621fb415f7922223b0d73c4fb /usr/src
blob - 8b4079f857da2aa79783848d450addba1e5831e6
file + share/man/man8/afterboot.8
--- share/man/man8/afterboot.8
+++ share/man/man8/afterboot.8
@@ -418,6 +418,23 @@ Normal recording can be enabled by adding the followin
 kern.audio.record=1
 kern.video.record=1
 .Ed
+.Ss Power management
+The
+.Xr apmd 8
+daemon controls the Advanced Power Management (APM).
+If your device's BIOS supports it, you can configure this daemon to act on
+different events and adjust the performance of your device.
+In the following example
+.Xr apmd 8
+is configured to start on boot in automatic performance adjustment mode and
+suspend the system if no AC is connected and the estimated battery life is
+equal or below 15%.
+.Bd -literal -offset indent
+# rcctl set apmd status on
+# rcctl set apmd flags -A -z 15
+.Ed
+.Pp
+For more information check the man page.
 .Ss Mail aliases
 Edit
 .Pa /etc/mail/aliases

-- 
Paco Esteban.
0x5818130B8A6DBC03

Reply via email to