ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

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 time left until fully charged/discharged on a Mac laptop.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/airbai/mac-battery
Or

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.

Metadata

Author@airbai
Stars4473
Views2
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-airbai-mac-battery": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.