title: Linux hardware: external power supply
agents: linux
catalog: os/hardware
license: GPLv2
distribution: check_mk
description:
 Whether a host with a battery - typically a notebook used as a server - runs on
 external power (AC adapter, USB-C power delivery). CRIT while it runs on battery,
 with the time since the power went away; optionally WARN only during a grace
 period. WARN if the battery discharges although a supply is connected (a USB-C
 supply too weak for the load). Configurable with the rule "Linux hardware: power
 supply".

discovery:
 One service on hosts with a system battery (peripheral batteries such as a mouse
 do not count).
