Dear Apple Support Team,
I am reaching out to inquire about the implementation of an energy monitoring solution similar to Xcode's Energy Impact tool for iOS apps. Specifically, I would like to understand the following aspects to address issues like overheating and rapid battery drain:
How can we achieve monitoring and calculation of CPU, GPU, and network usage over a period of time within an app?
How is the current energy consumption level of an app determined? Additionally, how are the weights for various factors like CPU, GPU, network, and location usage allocated when calculating the overall energy impact?
Any guidance or resources you could provide regarding these questions would be greatly appreciated.
Thank you for your assistance.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I am reaching out to inquire about the implementation of an energy monitoring solution similar to Xcode's Energy Impact tool for iOS apps. Specifically, I would like to understand the following aspects to address issues like overheating and rapid battery drain:
How can we achieve monitoring and calculation of CPU, GPU, and network usage over a period of time within an app?
How is the current energy consumption level of an app determined? Additionally, how are the weights for various factors like CPU, GPU, network, and location usage allocated when calculating the overall energy impact?
Any guidance or resources you could provide regarding these questions would be greatly appreciated.
Thank you for your assistance.
Background:
During daily usage of iOS devices, devices experience noticeable thermal issues. This heating not only affects user experience, but may also lead to device performance throttling, shortened battery life, and other problems. We need better understanding and monitoring of device thermal states to optimize application performance and user experience.
Issues Encountered:
Insufficient thermal monitoring capabilities: Unable to obtain real-time accurate temperature data from devices
Difficult power consumption analysis: Hard to determine which specific modules or threads cause high power consumption and heating
Requested Solutions:
Temperature Monitoring API: Provide accessible device temperature reading interfaces
Thermal Attribution Analysis Capability: During heating events, we expect to receive more detailed power consumption monitoring data, such as CPU, GPU, network, location services, display, high power consumption thread stacks and other information to help developers identify high energy consumption operations
Topic:
App & System Services
SubTopic:
General
Tags:
MetricKit
Developer Tools
Instruments
Performance