axiom-energy-ref

Reference iOS energy optimization APIs and Power Profiler usage.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-energy-ref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-energy-ref
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-energy-ref
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-energy-ref

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for optimizing iOS application energy consumption, covering advanced APIs and best practices to reduce battery drain and improve performance.

Core Features & Use Cases

  • API Reference: Detailed explanations and code examples for energy-efficient timers, network requests, location services, and background execution.
  • Profiling & Diagnostics: Guidance on using Instruments' Power Profiler and interpreting metrics.
  • Low Power & Thermal Management: Strategies for responding to device power states and thermal conditions.
  • Use Case: An iOS developer wants to reduce their app's battery usage. They can consult this Skill for specific code patterns to optimize network requests, manage background tasks efficiently, and leverage new APIs like BGContinuedProcessingTask.

Quick Start

Consult the section on NSTimer with tolerance to learn how to make timers more energy efficient.

Frequently Asked Questions about axiom-energy-ref

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

FAQPage Schema
How do I optimize iOS background tasks for battery efficiency?

Optimize iOS background tasks for battery efficiency by leveraging APIs like BGContinuedProcessingTask to manage execution. This Skill provides specific code patterns to schedule and run background work efficiently, minimizing energy drain while ensuring tasks complete reliably.

What is the best way to use NSTimer tolerance for energy efficiency on iOS?

The best way to use NSTimer tolerance for energy efficiency is configuring the tolerance property to allow the system to fire timers in batches. This reference details how adjusting timer tolerance reduces CPU wake-ups and significantly lowers overall energy consumption.

How does MetricKit help with iOS power profiling and diagnostics?

MetricKit assists with iOS power profiling by delivering power and performance metrics directly to your app for analysis. This reference explains how to interpret MetricKit data alongside Instruments' Power Profiler to pinpoint and troubleshoot common energy drain issues.

Can I use this reference to manage thermal conditions and low power states in my iOS app?

Yes, you can use this reference to manage thermal conditions and low power states in your iOS app. It provides strategies and API guidance for responding dynamically to device power states and thermal conditions to prevent excessive battery drain.

Why does my iOS app drain battery during network requests and location updates?

Your iOS app drains battery during network requests and location updates due to inefficient API usage that keeps hardware active. This Skill offers code examples to optimize network batching and location services, reducing energy overhead and improving battery life.

What are the limitations of iOS energy optimization for disk I/O and GPU operations?

Limitations of iOS energy optimization for disk I/O and GPU operations include hardware constraints and continuous background processing restrictions. This reference outlines precautions and efficient patterns to minimize energy drain when handling disk I/O and display rendering.