Skip to content
Back to skills

Mac Battery

ASecurity

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.

  • 33 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
toolsbash

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill mac-battery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mac Battery?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mac Battery
[![Security: A โ€” Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-mac-battery/badge)](https://www.skillsdirectory.com/skills/dvcrn-mac-battery)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: mac-battery
description: "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."
---

# Mac Battery Status

Query Mac laptop battery information using the `pmset` command.

## Command

```bash
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading commentsโ€ฆ