# Brownout

Power-cut guard for the machine Ulpi runs on.

- Type: Plugin
- Version: 0.1.1
- Updated: 22 Nov 2026
- Publisher: Osiyomeoh
- Category: Automation

[Contact us](https://www.ulpi.io/en/support#contact)

## What it does

Power-cut guard for the machine Ulpi runs on. When mains power drops it messages you (Telegram or any ulpi send target) with the battery level, measures the real drain and sends a runway, and on /brownout park (or by itself at critical battery if you don't answer) pauses active cron jobs and blocks new tool calls with a pre_tool_call hook.

When power is back it resumes only the jobs it paused and tells you. Nothing is killed or deleted; it stops the next tool call, not one already running.

Undelivered alerts are retried in order. No network calls of its own, no credentials read, no telemetry.

Writes only to \<ULPI_HOME\>/plugin-data/brownout/ (events log, state, command queue, watcher lock).

## How to set it up

Disclosure — one daemon thread per Ulpi home polls power every poll_seconds (default 15) by running (macOS), reading /sys/class/power_supply (Linux) or running (NUT UPS, opt-in).

```
pmset -g batt
```

```
upsc
```

## Review notes

What an owner reads and accepts before the install is approved.

- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

## More in Automation

- [budget-leash](https://www.ulpi.io/en/marketplace/plugins/budget-leash): Hard budget enforcement for Ulpi sessions.
- [bulk](https://www.ulpi.io/en/marketplace/plugins/bulk): Apply one instruction to hundreds of independent files, CSV rows or JSON records from a /bulk slash command, with job state in SQLite, background processing.
- [bundlebees](https://www.ulpi.io/en/marketplace/plugins/bundlebees): bundlebees: dispatch sandboxed coding workers (bees) from Ulpi, watch their attempts, and keep the apply, test and push step in your own hands.

[All listings →](https://www.ulpi.io/en/marketplace) · [Publisher's guide →](https://www.ulpi.io/en/docs) · [Report a problem →](https://www.ulpi.io/en/security#report)
