PANTAW COLLECTOR · HARDWARE

power collector

Observe power-supply and hwmon power telemetry where Linux exposes it.

Source and collected facts

Direct read-only sysfs inspection under /sys/class/power_supply and /sys/class/hwmon.

  • supply type, status and presence
  • capacity, voltage and current
  • power, energy and charge
  • manufacturer and model
  • hwmon power channels

Observation contract

Usable supply or channel facts produce SUCCESS; incomplete optional fields produce PARTIAL; absent or unreadable facilities produce UNAVAILABLE.

Relevant ReasonCode values: POWER_OBSERVED, POWER_PARTIAL, INTERNAL_ERROR

All collectors use structured ObservationStatus values and retain unavailable optional fields explicitly.

Graceful unavailability and limits

Desktop and server PSUs often expose no standard telemetry. Availability is hardware, firmware and driver dependent.

Permissions and privacy

Permissions. Read access to the relevant power-supply and hwmon attributes is required.

Privacy. Power-supply serials and model identity are sensitive inventory data; restrict audit access.

Sanitized example

{
  "source": "power",
  "status": "SUCCESS",
  "severity": "INFO",
  "reason_code": "POWER_OBSERVED",
  "target": "power:input",
  "metadata": {"supply_type":"Mains","online":true,"power_watts":92.4}
}

Synthetic example. It is not production node data.