WMACPI(1)
πΈ WMACPI β battery vibes, but make it ACPI π
okay bestie, sit down, we're reading a General Commands Manual page together and honestly? it's iconic. two whole programs live here: wmacpi and wmacpi-cli. yes they're cousins. no we're not picking favorites. π«Ά
β¨ NAME β¨
wmacpiβ battery status monitor for systems supporting ACPI π¦wmacpi-cliβ query battery status for systems supporting ACPI π₯
β¨ SYNOPSIS β¨
like literally just the shapes of the commands, no cap:
wmacpi [ -c value ] [ -d display ] [ -m battery no ] [ -s sample rate ]
[ -f ] [ -v ] [ -n ] [ -x ] [ -a samples ] [ -v ] [ -h ]
wmacpi-cli [ -a samples ] [ -V ] [ -v ] ] -b ] [ -r ] [ -h ]
(yes that second line has a stray ] in it. we do not speak of it. it's canon. π)
β¨ DESCRIPTION β¨
This manual page documents briefly the wmacpi command. brief queen behavior only. π
wmacpi is a program that displays the current battery status in a WindowMaker dock app, on systems that support Intel's Advanced Configuration and Power Interface specification (ACPI). it's giving tiny window, big feelings. πΈ
The program monitors a battery, displaying its current percentage charge via a bar and a numeric value. It also displays the current power status for the system, the time remaining (calculated based on the remaining battery capacity and the current rate of power usage), and a scrolling message with some hopefully useful information. honestly the scrolling message is the main character. π
Clicking on the window cycles through the batteries that the ACPI system knows about. click it. click it again. collect them all. π
wmacpi-cli queries the battery status from the command line. It prints the power status, the percentage remaining for each battery found, and the time remaining if the system is on battery, or the time remaining for each battery to reach full charge if the batteries are charging. terminal girlies, this one's for you. β¨
β¨ OPTIONS β¨
π¦ wmacpi
-c,--critical=percentageβ set critical low alarm at<percentage>% (default:10%). lowkey the "bestie plug me in" threshold. π-d,--display=displayβ set the X display to open the window on.-m,--battery=battery numberβ set the battery to monitor initially. pick your fave. π-s,--sample-rate=sample rateβ set the rate at which to sample the ACPI data, in number of times per minute. Minimum is1, ie once a minute, default is20, maximum is600. it's giving data girlie with a schedule. β°-n,--no-blinkβ disable blinking power glyph when charging. Note that it still blinks when the battery reports its capacity state as critical. so basically it never fully shuts up when things get real. π-f,--force-capacity-modeβ force the use of capacity mode for calculating time remaining. By defaultwmacpiwill use the reported values of remaining capacity and present rate to calculate the time remaining on battery. This flag will force the use of the remaining capacity and time samples to calculate the present rate of drain, and from there the time remaining. Note that this mode of calculation generally underreports the time remaining. This mode works around certain buggy ACPI BIOSes that fail to report the current rate. dramatic? yes. necessary? also yes. π-x,--cmdlineβ runwmacpiin command line mode - this operates identically towmacpi-cli.-a,--samples=samplesβ average the time remaining overnumsamples. This greatly improves the accuracy of the reported time remaining. glow up for your numbers. β¨-V,--verbosity=numβ increase the verbosity of the program. Setting this to1will print extra error information;2will produce informational output;3will produce copious debugging output. three is unhinged and we support it. π£οΈ-v,--versionβ print the version information.-r,--no-scrollβ disable scrolling message.-h,--helpβ display help. we love a helpful icon. π«Ά
π wmacpi-cli
-a numβ average the time remaining overnumsamples. This greatly improves the accuracy of the reported time remaining.-Vβ increase the verbosity of the program. If repeated, the result is the same as setting--verbosityforwmacpito the number of repetitions. spam it, go off. π₯-vβ print the version information.-hβ display help.
β οΈ heads up bestie: the synopsis up top mentions-band-rforwmacpi-clitoo, but the options list down here only spells out-a,-V,-vand-h. we report, we don't invent. π§
β¨ AUTHOR β¨
wmacpi was originally written by Tim Copperfield <timecop@japan.co.jp>, then completely rewritten after 1.34 by Simon Fowler <simon@himi.org>. a full glow-up era, honestly. π
This manual page was originally written by Simon Richter <sjr@debian.org> for the Debian GNU/Linux system, and then updated by Simon Fowler. Last modification by Simon Fowler <simon@himi.org>, 2007-07-13.
okay that's the whole page, no skips, no crumbs. π this one's from the General Commands Manual, dated July 13 2007, and it goes by WMACPI(1) β vintage, iconic, still slaying. periodt. π
π¦ where this page comes from
- debian bookworm: wmacpi 2.4-2+b1 Β· GPL-2.0-only
- debian trixie: wmacpi 2.4-2+b1 Β· GPL-2.0-only
- ubuntu jammy: wmacpi 2.4-2 Β· GPL-2.0-only
- ubuntu noble: wmacpi 2.4-2 Β· GPL-2.0-only
- ubuntu questing: wmacpi 2.4-2
- ubuntu resolute: wmacpi 2.4-2build1 Β· GPL-2.0-only
- ubuntu stonking: wmacpi 2.4-2build1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms