目录

Energy Consumption Diagnosis: Energy

Function Description

Since DevEco Studio 5.1.0 Release, DevEco Profiler provides the Energy template that helps diagnose and optimize energy usage during app runtime. This template offers insights into the following: energy consumption of different components, device temperature, and abnormal energy consumption frames.

The Energy template supports the following lanes: Energy Anomaly, Temperature, Energy, Frame, ArkTS Callstack, Callstack, CPU Core, and Process. This section describes the Energy Anomaly, Temperature, and Energy lanes. For details about other lanes, see the corresponding template.

  • Currently, the Energy template cannot be used to analyze app performance on TVs.
  • Before analysis, create an Energy analysis task and capture related data. For details, see In-depth Capture for Problem Locating. Alternatively, click Open File in the session area and import historical data.

Locating Energy Consumption Issues

After the capture ends, wait for data processing to complete. By default, three energy consumption lanes will be displayed: Energy Anomaly, Temperature, and Energy.

Energy Anomaly lane

Highlights abnormal frames related to energy consumption. Currently, this lane cannot be used for app performance analysis on wearables or 2-in-1 devices. 2-in-1 devices have been unsupported since version 26.0.0.

Temperature lane

Displays the temperature of the entire system. Currently, this lane cannot be used for app performance analysis on 2-in-1 devices.

Energy lane

Displays the energy consumption of each component and the current of the entire system.