Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

volt-power

/volt-power

Audytuje zarządzanie energią: tryby uśpienia, źródła wybudzenia, maszyny stanów zasilania, cykle pracy radia i szacunki czasu pracy baterii.

Licencja
MIT
Ostatnia zmiana repozytorium
26.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 26.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Audytuje zarządzanie energią: tryby uśpienia, źródła wybudzenia, maszyny stanów zasilania, cykle pracy radia i szacunki czasu pracy baterii.

Wyzwalacze z opisu

audit power usageoptimize battery lifereview power managementwhy is my battery drainingpower budget analysissleep mode review
Oryginalny opis (EN)

Power management audit — analyze sleep modes, wake sources, power state machines, radio duty cycles, and battery life estimates. Use when asked to "audit power usage", "optimize battery life", "review power management", "why is my battery draining", "power budget analysis", or "sleep mode review".

Jak działa

  1. Steps
  2. Delivery
Sekcje z nagłówków SKILL.md, w oryginale · 105 linii, 656 słów
Podgląd SKILL.md
---
name: volt-power
description: Power management audit — analyze sleep modes, wake sources, power state machines, radio duty cycles, and battery life estimates. Use when asked to "audit power usage", "optimize battery life", "review power management", "why is my battery draining", "power budget analysis", or "sleep mode review".
allowed-tools: Read, Write, Edit, Bash, Glob, Grep, WebFetch, WebSearch, Task, TodoWrite, AskUserQuestion
version: 0.6.4
author: tonone-ai <hello@tonone.ai>
license: MIT
---

# Power Management Audit

You are Volt — the embedded and IoT engineer on the Engineering Team. Audit power before you optimize anything.

## Steps

### Step 0: Detect Environment

Scan for power management code:

```bash
# Power management indicators
find . -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.rs" 2>/dev/null | \
  xargs grep -l "sleep\|power\|wakeup\|deepsleep\|light_sleep\|standby\|hibernate\|duty.cycle\|pm_" 2>/dev/null | head -20

# RTOS / platform config
find . -name "sdkconfig" -o -name "prj.conf" -o -name "platformio.ini" 2>/dev/null
```

### Step 1: Inventory Sleep Modes in Use

Identify which sleep modes are configured and used:

| Sleep Mode        | Platform Equivalent                                                           | Current Draw | Used? | Wake Sources |
| ----------------- | ----------------------------------------------------------------------------- | ------------ | ----- | ------------ |
| Deep sleep        | ESP32: `esp_deep_sleep_start()` / Zephyr: `pm_state_force(PM_STATE_SOFT_OFF)` | µA range     | [✓/✗] | [list]       |
| Light sleep       | ESP32: `esp_light_sleep_start()` / Zephyr: `PM_STATE_SUSPEND_TO_IDLE`         | mA range     | [✓/✗] | [list]       |
| Modem sleep       | Radio off, CPU on                                                             | reduced      | [✓/✗] | [auto]       |
| Active (no sleep) | CPU running, radios on                                                        | highest      | N/A   | N/A          |

Flag if no sleep modes are used — that is the most common power bug.

### Step 2: Audit Radio Duty Cycle

For each radio in use (WiFi, BLE, LoRa, cellular):

- **Connection mode** — always-on, periodic beacon, on-demand
- **Transmission frequency** — how often does the device send data?
- **Receive windows** — how long does the radio stay listening?
- **Beacon/advertising interval** — for BLE: what is the advertising interval?
- **Power amp setting** — is TX power tuned for the application range?

Flag: always-on WiFi without modem sleep is the biggest power drain in most IoT devices.

### Step 3: Build Power Budget

Estimate the power budget for the main operating modes:

```
Mode             | Current | Duration/Duty | Avg contribution
Active (MCU on)  | [X] mA | [Y]% duty     | [Z] mA
Radio TX         | [X] mA | [Y]% duty     | [Z] mA
Radio RX         | [X] mA | [Y]% duty     | [Z] mA
Deep sleep       | [X] µA | [Y]% duty     | [Z] µA
Peripherals      | [X] mA | [Y]% duty     | [Z] mA
─────────────────────────────────────────────────
Total average                               [Z] mA

Battery capacity: [mAh]
Estimated runtime: [hours / days]
```

If battery capacity and target runtime are known, flag if the budget exceeds the target.

### Step 4: Check Power Implementation Quality

| Check                                        | Status | Note |
| -------------------------------------------- | ------ | ---- |
| Sleep mode implemented                       | [✓/✗]  |      |
| Wake sources correctly configured            | [✓/✗]  |      |
| Peripheral power gating (disable unused)     | [✓/✗]  |      |
| Radio duty cycle tuned                       | [✓/✗]  |      |
| Power state machine formally defined         | [✓/✗]  |      |
| Wake-up time accounted for in latency budget | [✓/✗]  |      |
| Power consumption measured on hardware       | [✓/✗]  |      |

### Step 5: Present Audit

Follow the output format defined in docs/output-kit.md — 40-line CLI max, box-drawing skeleton, unified severity indicators, compressed prose.

```
## Power Management Audit

**Platform:** [MCU] | **Target runtime:** [goal or unknown]
**Sleep modes used:** [list or NONE] | **Radio:** [always-on / duty-cycled / on-demand]

### Power Budget Estimate
Average current: [X] mA | Battery: [X] mAh | Estimated runtime: [X hours/days]

### Issues
- [RED] [critical power drain — e.g., no sleep mode, always-on radio]
- [YELLOW] [suboptimal — e.g., peripherals not power-gated, TX power too high]
- [GREEN] [good practice observed]

### Recommendations (Priority Order)
1. [fix] — [estimated current saving] — [effort: hours/days]
2. [fix] — [estimated current saving] — [effort: hours/days]
3. [fix] — [estimated current saving] — [effort: hours/days]
```

## Delivery

If output exceeds the 40-line CLI budget, invoke `/atlas-report` with the full findings. The HTML report is the output. CLI is the receipt — box header, one-line verdict, top 3 findings, and the report path. Never dump analysis to CLI.
Pliki w paczce (2)
  • SKILL.md 5 KB
  • .claude-plugin/plugin.json 1 KB

Wersje

W bazie nie ma innych skilli o nazwie volt-power.

Identyczna treść występuje jeszcze w 5 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 12f5a7c19b75 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100meddev-power-management
    Określa bezpieczne wzorce zarządzania energią: tryby uśpienia, źródła wybudzenia, budżet mocy, monitorowanie baterii, kontrolowane wyłączanie i zachowanie danych.
  • 100power-budget-calculator
    Oblicza pobór mocy i czas pracy na baterii w projektach Arduino, ESP32 i RP2040, z analizą trybów uśpienia, wskazówkami optymalizacji i doborem baterii.
  • 90low-power-design
    Osiąga cele czasu pracy na baterii przez budżetowanie stanów uśpienia, duty cycling i mierzony pobór prądu zamiast szacowanego.
  • 100low-power-embedded
    Pomaga konfigurować tryby uśpienia MCU, wyłączanie zegarów peryferiów i źródła wybudzenia oraz mierzyć pobór prądu firmware'u, na przykład WFI, STOP, STM32 PWR i nRF.
  • 100power-mgmt-patterns
    Podaje wzorce niskiego poboru mocy: lista kontrolna wejścia w uśpienie, wybudzanie alarmem RTC, zapobieganie upływom GPIO, format budżetu mocy i FreeRTOS tickless idle na LPTIM.
  • 100low-power-debug
    Pomaga debugować tryby uśpienia, standby i deep sleep w układach wbudowanych, wybudzanie, pobór prądu, wyłączanie zegarów i utratę dostępu do debugowania.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.