get_power_status
Monitor battery and charging status of the Busy Bar to avoid power interruptions and know when to plug in the device.
Instructions
Retrieve power/battery status from the Busy Bar device.
This tool queries GET /api/status/power via `SystemApi.get_status_power()` to check
the current battery and charging state of the unit.
Returns a StatusPower object containing:
- state (str): Power state — one of "discharging", "charging", or "charged"
- battery_charge (int): Battery charge level as a percentage (0–100)
- battery_voltage (int): Battery voltage in millivolts (e.g., 4183 mV)
- battery_current (int): Battery current in milliamperes; negative means discharging
- usb_voltage (int): USB input voltage in millivolts (e.g., 4843 mV)
Use case:
Check battery health before operations that consume significant power;
alert users when the device needs to be plugged in.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||