agentsclimarketplace

Power management monitor

Skill a5c-ai/babysitter/library/specializations/desktop-development/skills/power-management-monitor

Monitor system power state including battery, AC, sleep, and wake eventsFrom its SKILL.md

Install
npx -y skills add a5c-ai/babysitter --skill power-management-monitor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.7 KB, 280 tokens by cl100k_base, as published. Nobody here has run it

power-management-monitor

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

What ships with it: 1 file

468 B alongside SKILL.md

Keep looking

Skills are one crate of 326,059. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.