power-management-monitor

SkillMonitoring & ops

Monitor system power state including battery, AC, sleep, and wake events

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the power-management-monitor skill

What this skill tells your AI

The instructions your AI receives, as published by a5c-ai/babysitter in library/specializations/desktop-development/skills/power-management-monitor/SKILL.md and read by ahel’s review.

Monitor system power state including battery level, AC/battery status, and sleep/wake events.

Capabilities

  • Monitor battery level and charging
  • Detect AC/battery power source
  • Handle sleep/wake events
  • Prevent system sleep
  • Low battery notifications
  • Power-aware feature toggling

Input Schema

{
  "type": "object",
  "properties": {
    "projectPath": { "type": "string" },
    "framework": { "enum": ["electron", "native"] },
    "events": { "type": "array" }
  },
  "required": ["projectPath"]
}

Electron Example

const { powerMonitor, powerSaveBlocker } = require('electron');

powerMonitor.on('suspend', () => console.log('System suspending'));
powerMonitor.on('resume', () => console.log('System resumed'));
powerMonitor.on('on-battery', () => console.log('On battery'));
powerMonitor.on('on-ac', () => console.log('On AC power'));

// Prevent sleep during important tasks
const id = powerSaveBlocker.start('prevent-app-suspension');
// ... do work ...
powerSaveBlocker.stop(id);

Related Skills

  • screen-capture-api
  • system-services-integration process

Signals

GitHub stars
2k
Forks
112
Last commit
Sep 2026
Advanced
Item type
skill
Key
power-management-monitor
Source
github.com/a5c-ai/babysitter