---
name: "pijuice"
section: "4"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["openbsd"]
url: "https://new.carta.tech/pijuice/4"
---

# pijuice(4)

PiJuice HAT UPS

## NAME

**pijuice** – PiJuice HAT UPS

## SYNOPSIS

**pijuice\* at iic?**

## DESCRIPTION

The **pijuice** driver provides support for the PiJuice HAT, an uninterruptible power supply for the Raspberry Pi. The integrated STM32F030CCT6 micro controller provides access through the I2C bus to several battery status values.

## SEE ALSO

[iic(4)](/iic/4.md), [intro(4)](/intro/4.md), [maxrtc(4)](/maxrtc/4.md), [apm(8)](/apm/8.md), [sysctl(8)](/sysctl/8.md)

## HISTORY

The **pijuice** driver first appeared in OpenBSD 7.3.

## AUTHORS

The **pijuice** driver was written by Marcus Glocker ⟨*mglocker@openbsd.org*⟩.

## CAVEATS

The PiJuice HAT EEPROM currently doesn't contain the device tree information to match and attach this device. It requires a custom device tree blob overlay which gets loaded during the bootstrapping process.
