一、插卡待机功耗高
插卡待机,开机后进入深度休眠时间长,3-4分钟左右 >>>前几分钟未进休眠原因是有持锁,请发送如下命令后再抓下log(发送命令后重启失效) adb shell echo 11 > /proc/sys/kernel/printk echo "file wakeup.c +pmflt" > /d/dynamic_debug/control 另外待机时不定时自动唤醒导致功耗高 >>>log中只出现两次唤醒,Wake up by 38(INT_APCPU_ANA)!和Wake up by 69(INT_APCPU_MBOX_TAR_AP)! 需要抓时间长一些(5-10分钟左右),谢谢
回复:
Hi cus; 前几分钟未进休眠 >>>原因是上层PowerManagerService.WakeLocks持锁,如下log分析,贵司排查下com.google.android.gms,看下之前版本有没有出现这个问题,谢谢 14:24:00.409 924 1315 D PowerManagerService: checkWakeLock wake lock:Checkin Service from com.google.android.gms(10059) duration:203147 14:27:25.353 1786 2842 E WakeLock: *gms_scheduler*/com.google.android.gms/.phenotype.service.sync.PhenotypeConfigurator ** IS FORCE-RELEASED ON TIMEOUT ** 出现不定时自动唤醒 >>>自动唤醒都是alarm,原因都是和GMS有关。确认下不插卡或者开飞行模式是否有这个现象 14:29:21.983 924 1315 D PowerController.Guru: handleMessage(MSG_WAKEUP_ALARM) 14:29:22.075 924 943 W AlarmManagerHelperEx: setImplLocked() return, this alarm is from GMS and is not available!!! 14:29:22.075 924 943 D AlarmManagerService: set alarm to kernel: 621.412000000, type=2 抓的ap log不能解压 >>>替换下analyzer.py就可以了