/install mac-battery
Mac Battery Status
Query Mac laptop battery information using the pmset command.
Command
pmset -g batt | grep -E "([0-9]+%)"
Output Format
Returns battery percentage, charging state, and time remaining:
- Percentage: e.g., "79%"
- Charging state: "charging", "discharging", or "charged"
- Time remaining: e.g., "0:47 remaining" (for charging) or "2:30 remaining" (for discharging)
Example Response
🔋 79%; charging; 0:47 remaining
Respond to user with the battery info in a friendly format with emoji.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mac-battery - After installation, invoke the skill by name or use
/mac-battery - Provide required inputs per the skill's parameter spec and get structured output
What is Mac Battery?
Check Mac laptop battery status including percentage, charging state, and time remaining. Use when user asks about battery level, power status, or how much t... It is an AI Agent Skill for Claude Code / OpenClaw, with 220 downloads so far.
How do I install Mac Battery?
Run "/install mac-battery" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Mac Battery free?
Yes, Mac Battery is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Mac Battery support?
Mac Battery is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Mac Battery?
It is built and maintained by airbai (@airbai); the current version is v1.0.0.