run-on-ac, run-on-batΒΆ

Conditional execution of a command depending on the current power source:

run-on-ac command parameter ...
run-on-bat command parameter ...