Battery Monitor Tool
Monitor Android device battery status and information.
How It Works
This skill provides instructions for the Battery Monitor tool node. Connect the Battery Monitor node to Zeenie's input-tools handle to enable battery monitoring.
battery Tool
Get battery status and information from the Android device.
Schema Fields
| Field |
Type |
Required |
Description |
| action |
string |
Yes |
"status" - Get current battery information |
Actions
| Action |
Description |
status |
Get current battery level, charging state, health, temperature |
Example
Get battery status:
{
"action": "status"
}
Response Format
{
"success": true,
"service": "battery",
"action": "status",
"data": {
"level": 85,
"status": "charging",
"health": "good",
"temperature": 28.5,
"voltage": 4200,
"plugged": "ac",
"technology": "Li-ion"
}
}
Response Fields
| Field |
Type |
Description |
| level |
int |
Battery percentage (0-100) |
| status |
string |
"charging", "discharging", "full", "not_charging" |
| health |
string |
"good", "overheat", "dead", "cold" |
| temperature |
float |
Temperature in Celsius |
| voltage |
int |
Voltage in millivolts |
| plugged |
string |
"ac", "usb", "wireless", "none" |
| technology |
string |
Battery technology (e.g., "Li-ion") |
Error Response
{
"error": "Failed to get battery status",
"service": "battery",
"action": "status"
}
Use Cases
| Use Case |
Description |
| Low battery alert |
Trigger actions when battery is low |
| Charging monitor |
Detect when device starts/stops charging |
| Health check |
Monitor battery health over time |
| Temperature warning |
Alert on overheating |
Common Workflows
Low battery notification
- Check battery status
- If level < 20%, send notification
- Optionally enable power saving
Charging complete alert
- Periodically check battery status
- When status = "full", send notification
- Optionally suggest unplugging
Setup Requirements
- Connect the Battery Monitor node to Zeenie's
input-tools handle
- Android device must be paired (green status indicator)
- Battery monitoring permission required on device
1---2name: battery-skill3description: Monitor Android device battery status, level, charging state, temperature, and health.4---56# Battery Monitor Tool78Monitor Android device battery status and information.910## How It Works1112This skill provides instructions for the **Battery Monitor** tool node. Connect the **Battery Monitor** node to Zeenie's `input-tools` handle to enable battery monitoring.1314## battery Tool1516Get battery status and information from the Android device.1718### Schema Fields1920| Field | Type | Required | Description |21|-------|------|----------|-------------|22| action | string | Yes | `"status"` - Get current battery information |2324### Actions2526| Action | Description |27|--------|-------------|28| `status` | Get current battery level, charging state, health, temperature |2930### Example3132**Get battery status:**33```json34{35 "action": "status"36}37```3839### Response Format4041```json42{43 "success": true,44 "service": "battery",45 "action": "status",46 "data": {47 "level": 85,48 "status": "charging",49 "health": "good",50 "temperature": 28.5,51 "voltage": 4200,52 "plugged": "ac",53 "technology": "Li-ion"54 }55}56```5758### Response Fields5960| Field | Type | Description |61|-------|------|-------------|62| level | int | Battery percentage (0-100) |63| status | string | `"charging"`, `"discharging"`, `"full"`, `"not_charging"` |64| health | string | `"good"`, `"overheat"`, `"dead"`, `"cold"` |65| temperature | float | Temperature in Celsius |66| voltage | int | Voltage in millivolts |67| plugged | string | `"ac"`, `"usb"`, `"wireless"`, `"none"` |68| technology | string | Battery technology (e.g., "Li-ion") |6970### Error Response7172```json73{74 "error": "Failed to get battery status",75 "service": "battery",76 "action": "status"77}78```7980## Use Cases8182| Use Case | Description |83|----------|-------------|84| Low battery alert | Trigger actions when battery is low |85| Charging monitor | Detect when device starts/stops charging |86| Health check | Monitor battery health over time |87| Temperature warning | Alert on overheating |8889## Common Workflows9091### Low battery notification92931. Check battery status942. If level < 20%, send notification953. Optionally enable power saving9697### Charging complete alert98991. Periodically check battery status1002. When status = "full", send notification1013. Optionally suggest unplugging102103## Setup Requirements1041051. Connect the **Battery Monitor** node to Zeenie's `input-tools` handle1062. Android device must be paired (green status indicator)1073. Battery monitoring permission required on device