ormus-solutions/libreembed-claude-code/power-mgmt-patterns
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Low-power patterns: sleep entry checklist, RTC alarm wake-up, GPIO leakage prevention, a power budget format, and FreeRTOS tickless idle on LPTIM. Use when cutting sleep current or estimating battery life.
Install
npx vskill@latest install ormus-solutions/libreembed-claude-code/power-mgmt-patternsSKILL.md
power-mgmt-patterns
Knowledge Base
Power management patterns for battery-operated embedded systems.
Pattern 1: Sleep Entry Checklist
Before entering Stop/Standby mode, complete these steps in order:
Pattern 2: RTC Alarm Wake-Up
Wake MCU at a specific time or after an interval using the RTC alarm.
Pattern 3: GPIO Leakage Prevention
Floating GPIO inputs near the logic threshold (VCC/2) draw up to 1mA per pin.
Pattern 4: Power Budget Spreadsheet Format
Pattern 5: FreeRTOS Tickless Idle with LPTIM
Anti-Patterns
- Entering Stop mode with SysTick running: SysTick interrupt fires and wakes the MCU every 1ms, defeating sleep.
- Not restoring the PLL after Stop mode exit: Stop mode switches to MSI/HSI; PLL must be reconfigured or peripherals run at wrong speed.
- Using delay loops during sleep: HAL_Delay uses SysTick; use RTC or LPTIM for sleep timing.
- Not measuring with the actual battery: DCDC efficiency drops at low current; lab bench supply ≠ coin cell behavior.
References
- STM32L4 Reference Manual RM0351, Chapter 5 (Power Control)
- Nordic Semiconductor Infocenter: Power management for nRF52 series
- AN4621 (ST): STM32L4xx ultra-low-power features
- FreeRTOS tickless idle: freertos.org/low-power-tickless-rtos.html
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/power-management/skills/power-mgmt-patterns/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ormus-solutions/libreembed-claude-code/power-mgmt-patterns)