on_ac_power
all
A simple utility which tests if a computer is running on line power. Returns `0` if yes, and `1` if no.
More info →Examples (1)
Test if a computer is running on line power
made by @shridhargupta | data from tldr-pages
A simple utility which tests if a computer is running on line power. Returns `0` if yes, and `1` if no.
More info →Test if a computer is running on line power