Power Status Reference
All parameters, thresholds, and configuration options for the Power Status check in octoja.
Written By Erdinc Akay
Last updated About 2 months ago
Power Status Reference
The Power Status check monitors the device's power source and battery level, alerting on low battery or loss of mains power.
Configuration fields
In the check editor, the battery level fields appear under the Battery Thresholds header and the battery health fields under the Battery Health header.
Collected metrics
- Power source (AC / Battery / Unknown)
- Battery level (%)
- Battery health (%)
- Battery name
- Estimated runtime (minutes, if available)
Platform support
Notes
- Battery monitoring requires a battery the operating system reports as such (laptop batteries; on Linux, a device the kernel exposes under
/sys/class/power_supplywithtype=Battery). Devices withtype=UPSare not monitored for charge or health — a UPS-type supply only causes the reported power source to be AC. - Devices without a battery report "No battery detected — running on AC power." and return an OK result.
- If a warning threshold is set lower than its critical threshold, the check silently swaps the two values at runtime.
- The check runs every 5 minutes by default.
See also: Configure a Power Status Check