ACPICONF(8)
π ACPICONF (8) β System Manager's Manual β¨
okay so bestie, this is the page for acpiconf β the little utility that lives in section 8 of the manual, and honestly she's lowkey the main character of ACPI power management on your box π«Ά
πΈ NAME πΈ
acpiconf β control ACPI power management π
β SYNOPSIS β
acpiconf [-h] [-i batt] [-k ack] [-s type]
π DESCRIPTION π
so the acpiconf utility literally lets you, the user, control the ACPI power management functions. think of it as the group chat between you and your hardware π₯
the following command-line options are recognized, and yes we're going through all of them because nobody gets left behind π
β¨ OPTIONS β¨
-hβ displays a summary of the available options. it's giving "help me help you" energy π-i battβ gets the design information and the current status of the battery you specify by its number, and heads up: the numbering starts with0β-k ackβ acks or aborts a pending suspend request using whatever argument you hand it. and bestie, listen β most users should not use this option directly, no cap, leave it to the system π-s typeβ enters the specified sleep mode. the recognized types are:- only the CPU clock is stopped π€
- not implemented on most systems, but similar to S1 π
- the CPU context is lost and the memory context is preserved π§
- the CPU context is lost and the memory context is stored to disk πΎ
sleep states may also be given as S1, S2, etc. β same vibes, different spelling β¨
the supported states depend on the BIOS implementation, including ACPI byte code (AML). so like, your mileage may vary based on your firmware's choices, not ours π¦
and here's the cute part: if the /etc/rc.suspend and /etc/rc.resume scripts are executable, they will be run by devd(8) or apmd(8) before and after entering the given sleep state π
those /etc/rc.suspend and /etc/rc.resume scripts use the rcorder(8) utility to call scripts in /etc/rc.d/ and the $local_startup directories that have a "suspend" or "resume" KEYWORD, respectively π
called scripts are supplied with a single "suspend" / "resume" command line argument β one arg, that's it, that's the whole deal π
see rc.conf(5) for more information about $local_startup π
π¦ SEE ALSO π¦
acpi(4), rc.conf(5), acpidump(8), apm(8), apmd(8), devd(8), rcorder(8) β go read the whole friend group, they're all iconic β
π HISTORY π
the acpiconf utility appeared in FreeBSD 5.0 β a whole era, fr fr π
π AUTHORS π
the acpiconf utility was written by Mitsuru Iwasaki <iwasaki@FreeBSD.org> π«Ά
this manual page was written by Dag-Erling SmΓΈrgrav <des@FreeBSD.org> πΈ
and that's the whole page bestie!! π this Debian edition is dated June 16, 2023 β so if you're reading this, hi from the past, you're doing amazing, slay π β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- Copyright (c) 2000 Dag-Erling SmΓΈrgrav
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms