# 功耗优化入门

开始之前，应按照 [Qualcomm Linux 编译指南](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-254/introduction.html)搭建基础结构。本指南还提供有关常见编译工作流程的信息。

## 准备性能编译版本

准备性能编译版本可确保所有电源功能均经过优化并正常运行，从而实现高效的功耗管理。有关说明，请参阅[使用 SSH 登录](https://docs.qualcomm.com/bundle/publicresource/topics/80-70020-254/how_to.html#use-ssh)。

默认的 Qualcomm 编译版本是性能编译版本。要评估任何功耗测量，请使用性能编译版本。

性能编译版本使用以下内核配置：

- `kernel_platform/kernel/arch/arm64/configs/qcom_defconfig`
- `kernel_platform/kernel /arch/arm64/configs/qcom_addons.config`

内核配置在源代码内核配方中定义，路径为：

`layer/meta-qcom-hwe/recipes‑kernel/linux/linux-kernel-qcom_6.6.bb.`

`KERNEL_DEFCONFIG = "${S}/arch/arm64/configs/qcom_defconfig"`

`KERNEL_CONFIG_FRAGMENTS:append = " ${S}/arch/arm64/configs/qcom_addons.config"`

Last Published: Jul 24, 2025

[Previous Topic
功耗管理概述](https://docs.qualcomm.com/bundle/publicresource/80-70020-30SC/topics/poweroverview.md) [Next Topic
了解功耗架构](https://docs.qualcomm.com/bundle/publicresource/80-70020-30SC/topics/architecture.md)