diff options
author | paco <paco@cvs.openbsd.org> | 2021-05-16 06:46:58 +0000 |
---|---|---|
committer | paco <paco@cvs.openbsd.org> | 2021-05-16 06:46:58 +0000 |
commit | 976cd6d28c830d626179f88297a0ef60fcf28cc5 (patch) | |
tree | c434b74e722c7964aab0a1ef458fb562a7919057 | |
parent | 5af02e9771abb3ceadb8745067539e8082ef9312 (diff) |
mention apmd(8) in afterboot(8)
input and ok jmc@
-rw-r--r-- | share/man/man8/afterboot.8 | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man8/afterboot.8 b/share/man/man8/afterboot.8 index 8b4079f857d..4a7be827a23 100644 --- a/share/man/man8/afterboot.8 +++ b/share/man/man8/afterboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: afterboot.8,v 1.168 2020/12/29 12:28:23 mglocker Exp $ +.\" $OpenBSD: afterboot.8,v 1.169 2021/05/16 06:46:57 paco Exp $ .\" .\" Copyright (c) 1997 Marshall M. Midden .\" All rights reserved. @@ -29,7 +29,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: December 29 2020 $ +.Dd $Mdocdate: May 16 2021 $ .Dt AFTERBOOT 8 .\" Originally created by Marshall M. Midden -- 1997-10-20, m4@umn.edu .Os @@ -418,6 +418,17 @@ Normal recording can be enabled by adding the following directives to kern.audio.record=1 kern.video.record=1 .Ed +.Ss Power management +If the BIOS supports it, +.Xr apmd 8 +can be configured to act on different events and adjust device performance. +In the following example it 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 .Ss Mail aliases Edit .Pa /etc/mail/aliases |