zoukankan      html  css  js  c++  java
  • Power Debug Guide

    • Check APSS wakeups

        1.Enable the following debug mask to log the interrupt information in the kernel logs:

                      echo 1 > /sys/module/msm_show_resume_irq/parameters/debug_mask

        2.Check prints in the kernel log to identify which interrupt is causing the APSS to wake up. The
         following snippet shows that the APSS is awakened by qpnp_kpdpwr_status, which is the power
         key press interrupt:      

                      <6>[0414 06:51:27.872744]@0 @0 __qpnpint_handle_irq: 288 triggered [0x0,
                          0x08,0x0] qpnp_kpdpwr_status
                      <6>[0414 06:51:27.872751]@0 @0 gic_show_resume_irq: 200 triggered qcom,smdrpm
                      <6>[0414 06:51:27.872758]@0 @0 gic_show_resume_irq: 203 triggered
                            601d0.qcom,mpm
                      <6>[0414 06:51:27.872765]@0 @0 gic_show_resume_irq: 222 triggered
                            200f000.qcom,spmi

    • Check leakage in sleep current  

         1.If the base current is higher than expected, even after the device successfully enters VDD
         minimization, there are one or more leakage sources on the device contributing to the total current
         consumption.

         Leakage can occur from multiple sources, such as the following:

         ■ Leakage from SMPS and LDOs not used during sleep but are kept enabled; a PMIC dump is
            helpful in checking possible leakage from SMPS and LDOs
         ■ Leakage from GPIO pads if one or more GPIOs are not configured correctly in their lowest
            leakage settings; a GPIO dump can be helpful in determining the sleep configuration of the MSM™
            GPIOs
         ■ Leakage from peripherals and external components not disabled or put in Low Power mode
            configuration

  • 相关阅读:
    github上比较有名的一个前端面试题,随便做做(4)
    常见动态内存的管理程序错误
    .Net笔记(一)is和 as
    消息映射宏
    组态软件分析(第一节)
    指针形参与引用形参区别
    MFC 消息映射的产生
    WPF 路由事件(一)
    C# 封装集合
    Xaml Code Behind Generator (XAML 转成C#代码)
  • 原文地址:https://www.cnblogs.com/rainey-forrest/p/11492037.html
Copyright © 2011-2022 走看看