upd(4)

upd4

Usb power devices sensor

Usage

upd* at uhidev?

Overview

The upd driver provides support for monitoring various sensors provided by USB Power Devices (such as a UPS). Supported sensor values are made available via the sysctl(8) interface.

The following sensors are supported by the driver:

BatteryPresent

ShutdownImminent

ACPresent

PercentLoad

Overload

RelativeStateOfCharge

AbsoluteStateOfCharge

RemainingCapacity

FullChargeCapacity

Charging

Discharging

AtRateTimeToFull

AtRateTimeToEmpty

RunTimeToEmpty

NeedReplacement

Releases

26 releases since OpenBSD 5.6; the text changed 3 times.

  1. 5.6–5.7
  2. 5.8–6.7
  3. 6.8–7.6
  4. 7.7–8.0

History

The upd driver first appeared in OpenBSD 5.6.

Authors

The upd driver was written by Andre de Oliveira.

Bugs

The upd driver does not indicate device health via aggregate or individual sensor status. Users who wish to monitor upd status using sensorsd(8) must manually establish “high” and “low” limits for sensor values of interest via sensorsd.conf(5).

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.