on_ac_power(1) on Linux
The text 060371b8984b, as Debian 13 (Trixie), Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster) shipped it. The page shows this text now.
test whether computer is running on AC power
The text 060371b8984b, as Debian 13 (Trixie), Debian 12 (Bookworm), Debian 11 (Bullseye), Debian 10 (Buster) shipped it. The page shows this text now.
test whether computer is running on AC power