power-performance

Optimize power consumption and performance of Zephyr RTOS embedded devices.

59|13|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/beriberikix/zephyr-agent-skills --skill power-performance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: power-performance
Source: https://github.com/beriberikix/zephyr-agent-skills/tree/main/skills/power-performance
Command: npx skills add https://github.com/beriberikix/zephyr-agent-skills --skill power-performance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Zephyr-based embedded systems often face the challenge of balancing battery life with performance requirements. This skill provides actionable patterns to reduce power consumption while preserving responsiveness.

Core Features & Use Cases

  • Power Management: system power states, residency hooks, device PM.
  • Performance Tuning: profiling, ITCM/RAM relocation, and compile-time options.
  • Memory Optimization: relocation and stack/heap considerations for RAM efficiency.
  • Use Case: Battery-powered industrial sensors requiring extended runtime with low latency.

Quick Start

Configure your Zephyr project for power management (enable CONFIG_PM and CONFIG_PM_DEVICE, etc.), identify hot paths, and relocate critical functions to RAM when needed. Then run profiling to verify latency and energy savings and adjust linker scripts accordingly.

Frequently Asked Questions about power-performance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize power consumption in Zephyr RTOS without sacrificing performance?

To optimize Zephyr power consumption, enable CONFIG_PM and CONFIG_PM_DEVICE, implement residency hooks, and relocate critical functions to RAM. This balances battery life and low latency by reducing idle power draw while preserving responsiveness for hot paths.

How do Zephyr residency hooks work for battery-powered IoT devices?

Zephyr residency hooks allow the system to enter low power states during idle periods. By configuring system power states, battery-powered sensors can achieve long idle times and energy efficiency while waking quickly for latency-sensitive tasks.

Can I relocate code and data to RAM or ITCM for performance tuning in Zephyr?

Yes, you can relocate critical code and data to RAM or ITCM in Zephyr to reduce execution latency. Adjusting linker scripts allows you to move hot paths into faster memory, which is verified through profiling to ensure energy savings.

What is the best way to profile latency and energy efficiency in Zephyr embedded systems?

The best way to profile latency and energy efficiency in Zephyr is to run profiling after configuring power states and relocating critical functions. This verifies that your compile-time options and linker script adjustments achieve the desired balance.

Does this Zephyr power management approach work for industrial sensors requiring extended runtime?

Yes, this approach is designed for battery-powered industrial sensors requiring extended runtime. By leveraging system power states and memory-conscious stack and heap considerations, devices maintain low latency while maximizing battery life.

When should I adjust linker scripts for memory optimization in Zephyr?

Adjust linker scripts for memory optimization in Zephyr when you need to relocate critical functions to RAM or ITCM for faster execution. This is typically done after identifying hot paths to ensure latency and energy targets are met.