【预期结果】可正常播放
分析:
从测试提供的描述突然黑屏死机,并且是在电量低的情况,也有可能是直接掉电了,下面就来分析下log
从第二份last_kmsg LOG 中可以明显的看到: [ 206.423069]<0>.(0)[160:kpoc_charger]******** MT auxadc driver shutdown!! ******** [ 206.424024]<0>.(0)[160:kpoc_charger]******** MTK WDT driver shutdown!! ******** [ 206.424983]<0>.(0)[160:kpoc_charger]******** MTK WDT driver shutdown done ******** [ 206.425971]<0>.(0)[160:kpoc_charger]Restarting system. [ 206.426605]<0>.(0)[160:kpoc_charger]machine_restart init found pid:1. [ 206.427410]<0>-(0)[160:kpoc_charger]machine_shutdown: start, Proess(kpoc_charger:160). father init:1. grandfather swapper/0:0. [ 206.428828]<0>-(0)[160:kpoc_charger]arch_reset: cmd = NULL [ 206.429511]<0>-(0)[160:kpoc_charger]wdt_arch_reset called@Kernel mode =\u0001 [ 206.430371]<0>-(0)[160:kpoc_charger]wdt_arch_reset called MTK_WDT_MODE =dd [ 206.431232]<0>-(0)[160:kpoc_charger]wdt_arch_reset called end MTK_WDT_MODE =22000094 ================ END of FILE ===============
即说明第二份LOG 之前是在关机充电, 故第一份LOG 到第二份之前机器肯定已经掉电了. 再来看掉电的原因,从kernel log 里面比较明显的可以看到,当时的电池电压已经很低了,处于掉电的边缘了. <5>[ 1665.499310]<2>.(1)[120:bat_thread_kthr]gn_bootup_rtc_soc = 6,gn_bootup_gFG_capacity_by_v = 1,gn_bootup_gFG_capacity_by_v_init = 1 boot_reason =0, gFG_voltage_AVG =3527. <5>[ 1665.499321]<2>.(1)[120:bat_thread_kthr]gFG_Is_use_rtc_value = 1, gFG_voltage_r = 3037, gn_gFG_voltage_init = 3527, gn_gFG_voltage = 3549 <5>[ 1665.499342]<2>.(1)[120:bat_thread_kthr]AvgVbat=(3236),bat_vol=(2897),AvgI=(43),I=(160),VChr=(5109),AvgT=(45),T=(47),pre_SOC=(6),SOC=(6),ZCV=(3037) 可以看到 ]AvgVbat=(3236),bat_vol=(2897), 当时供电电压已经很低,此时就难以保证系统的稳定性了.
需要驱动作进一步的分析
相关的log可以到:http://download.csdn.net/detail/deng0zhaotai/8747935下载
Android黑屏死机--充电运行土豆视频【.4.4】》播放视频中黑屏死机》手动按电源键开机显示电量为6%
原文地址:http://blog.csdn.net/deng0zhaotai/article/details/46122027