[HTC 10 Guides, News, & Discussion] Haldi4803:
Phew..... I flashed Stock Kernel for some Testing....

# sh /storage/emulated/0/Download/Scripts/SRA

Head of kernel log:

[11195.808522] c0 22315 FG: fg_is_batt_id_valid: fg batt sts 0xc

[11196.021715] c0 2137 [R] suspend start

[11196.021796] c0 2137 PM: suspend entry 2016-07-12 18:51:47.517090870 UTC

Head of resume action:

[11196.581325] c1 2137 msm_pcie_enable: RC0: entry

Tail of resume action:

[11236.823710] c0 2137 msm_pcie_enable: RC0: entry

Tail of kernel log:

[11247.802426] c1 3050 [WLAN] CFG80211-LOG) wl_escan_handler : ESCAN COMPLETED

[11247.802492] c1 3050 [WLAN] CFG80211-LOG) wl_escan_handler : SCAN COMPLETED: scanned AP count=4

[11247.802720] c1 3050 [WLAN] DHD Runtime PM Enabled

All resume action with cause:

[11196.455477] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11196.455477] c0 2137 [WAKEUP] Resume caused by gic-200

[11196.455477] c0 2137 [WAKEUP] Resume caused by gic-203

[11196.455477] c0 2137 [WAKEUP] Resume caused by gic-240

[11196.581325] c1 2137 msm_pcie_enable: RC0: entry

[11197.657268] c1 2137 msm_pcie_enable: RC0: entry

[11198.653684] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11198.653684] c0 2137 [WAKEUP] Resume caused by gic-200

[11198.653684] c0 2137 [WAKEUP] Resume caused by gic-203

[11198.653684] c0 2137 [WAKEUP] Resume caused by gic-240

[11198.768326] c0 2137 msm_pcie_enable: RC0: entry

[11199.741153] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11199.741153] c0 2137 [WAKEUP] Resume caused by gic-200

[11199.741153] c0 2137 [WAKEUP] Resume caused by gic-203

[11199.741153] c0 2137 [WAKEUP] Resume caused by gic-240

[11199.846315] c0 2137 msm_pcie_enable: RC0: entry

[11200.838852] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11200.838852] c0 2137 [WAKEUP] Resume caused by gic-200

[11200.838852] c0 2137 [WAKEUP] Resume caused by gic-203

[11200.838852] c0 2137 [WAKEUP] Resume caused by gic-240

[11200.947684] c0 2137 msm_pcie_enable: RC0: entry

[11202.080495] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11202.080495] c0 2137 [WAKEUP] Resume caused by gic-200

[11202.080495] c0 2137 [WAKEUP] Resume caused by gic-203

[11202.080495] c0 2137 [WAKEUP] Resume caused by gic-240

[11202.192533] c0 2137 msm_pcie_enable: RC0: entry

[11203.193606] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11203.193606] c0 2137 [WAKEUP] Resume caused by gic-200

[11203.193606] c0 2137 [WAKEUP] Resume caused by gic-203

[11203.193606] c0 2137 [WAKEUP] Resume caused by gic-240

[11203.318358] c1 2137 msm_pcie_enable: RC0: entry

[11208.938254] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11208.938254] c0 2137 [WAKEUP] Resume caused by gic-200

[11208.938254] c0 2137 [WAKEUP] Resume caused by gic-203

[11208.938254] c0 2137 [WAKEUP] Resume caused by gic-240

[11209.031778] c1 2137 msm_pcie_enable: RC0: entry

[11209.927488] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11209.927488] c0 2137 [WAKEUP] Resume caused by gic-200

[11209.927488] c0 2137 [WAKEUP] Resume caused by gic-203

[11209.927488] c0 2137 [WAKEUP] Resume caused by gic-240

[11210.022472] c1 2137 msm_pcie_enable: RC0: entry

[11210.916538] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11210.916538] c0 2137 [WAKEUP] Resume caused by gic-200

[11210.916538] c0 2137 [WAKEUP] Resume caused by gic-203

[11210.916538] c0 2137 [WAKEUP] Resume caused by gic-240

[11211.011669] c1 2137 msm_pcie_enable: RC0: entry

[11212.068081] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11212.068081] c0 2137 [WAKEUP] Resume caused by gic-200

[11212.068081] c0 2137 [WAKEUP] Resume caused by gic-203

[11212.068081] c0 2137 [WAKEUP] Resume caused by gic-240

[11212.159829] c0 2137 msm_pcie_enable: RC0: entry

[11214.238799] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11214.238799] c0 2137 [WAKEUP] Resume caused by gic-200

[11214.238799] c0 2137 [WAKEUP] Resume caused by gic-203

[11214.238799] c0 2137 [WAKEUP] Resume caused by gic-240

[11214.346866] c0 2137 msm_pcie_enable: RC0: entry

[11215.332041] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11215.332041] c0 2137 [WAKEUP] Resume caused by gic-200

[11215.332041] c0 2137 [WAKEUP] Resume caused by gic-203

[11215.332041] c0 2137 [WAKEUP] Resume caused by gic-240

[11215.446425] c0 2137 msm_pcie_enable: RC0: entry

[11216.981797] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11216.981797] c0 2137 [WAKEUP] Resume caused by gic-200

[11216.981797] c0 2137 [WAKEUP] Resume caused by gic-203

[11216.981797] c0 2137 [WAKEUP] Resume caused by gic-240

[11217.094183] c0 2137 msm_pcie_enable: RC0: entry

[11218.089578] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11218.089578] c0 2137 [WAKEUP] Resume caused by gic-200

[11218.089578] c0 2137 [WAKEUP] Resume caused by gic-203

[11218.089578] c0 2137 [WAKEUP] Resume caused by gic-240

[11218.194797] c0 2137 msm_pcie_enable: RC0: entry

[11221.477989] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11221.477989] c0 2137 [WAKEUP] Resume caused by gic-200

[11221.477989] c0 2137 [WAKEUP] Resume caused by gic-203

[11221.477989] c0 2137 [WAKEUP] Resume caused by gic-240

[11221.586341] c0 2137 msm_pcie_enable: RC0: entry

[11222.581332] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11222.581332] c0 2137 [WAKEUP] Resume caused by gic-200

[11222.581332] c0 2137 [WAKEUP] Resume caused by gic-203

[11222.581332] c0 2137 [WAKEUP] Resume caused by gic-240

[11222.695094] c0 2137 msm_pcie_enable: RC0: entry

[11224.105678] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11224.105678] c0 2137 [WAKEUP] Resume caused by gic-200

[11224.105678] c0 2137 [WAKEUP] Resume caused by gic-203

[11224.105678] c0 2137 [WAKEUP] Resume caused by gic-240

[11224.216443] c0 2137 msm_pcie_enable: RC0: entry

[11225.216846] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11225.216846] c0 2137 [WAKEUP] Resume caused by gic-200

[11225.216846] c0 2137 [WAKEUP] Resume caused by gic-203

[11225.216846] c0 2137 [WAKEUP] Resume caused by gic-240

[11225.330078] c0 2137 msm_pcie_enable: RC0: entry

[11226.567781] c1 459 msm_pcie_enable: RC0: entry

[11226.765077] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11226.765077] c0 2137 [WAKEUP] Resume caused by gic-200

[11226.765077] c0 2137 [WAKEUP] Resume caused by gic-203

[11226.765077] c0 2137 [WAKEUP] Resume caused by gic-240

[11226.873101] c0 2137 msm_pcie_enable: RC0: entry

[11228.232585] c1 459 msm_pcie_enable: RC0: entry

[11228.408685] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11228.408685] c0 2137 [WAKEUP] Resume caused by gic-200

[11228.408685] c0 2137 [WAKEUP] Resume caused by gic-203

[11228.408685] c0 2137 [WAKEUP] Resume caused by gic-240

[11228.522230] c1 2137 msm_pcie_enable: RC0: entry

[11232.113168] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11232.113168] c0 2137 [WAKEUP] Resume caused by gic-200

[11232.113168] c0 2137 [WAKEUP] Resume caused by gic-203

[11232.113168] c0 2137 [WAKEUP] Resume caused by gic-240

[11232.225692] c0 2137 msm_pcie_enable: RC0: entry

[11233.224173] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11233.224173] c0 2137 [WAKEUP] Resume caused by gic-200

[11233.224173] c0 2137 [WAKEUP] Resume caused by gic-203

[11233.224173] c0 2137 [WAKEUP] Resume caused by gic-240

[11233.334742] c0 2137 msm_pcie_enable: RC0: entry

[11234.327165] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11234.327165] c0 2137 [WAKEUP] Resume caused by gic-200

[11234.327165] c0 2137 [WAKEUP] Resume caused by gic-203

[11234.327165] c0 2137 [WAKEUP] Resume caused by gic-240

[11234.440711] c1 2137 msm_pcie_enable: RC0: entry

[11235.556118] c0 2137 msm_pcie_enable: RC0: entry

[11236.718452] c0 2137 [WAKEUP] Resume caused by msmgpio-122

[11236.718452] c0 2137 [WAKEUP] Resume caused by gic-200

[11236.718452] c0 2137 [WAKEUP] Resume caused by gic-203

[11236.718452] c0 2137 [WAKEUP] Resume caused by gic-240

[11236.823710] c0 2137 msm_pcie_enable: RC0: entry

Recent suspend abortion reasons:

[11197.585704] c1 2137 active wakeup source: wlan_oob_irq_wake

[11204.140046] c1 2137 last active wakeup source: wlan_wake

[11204.534687] c0 2137 active wakeup source: wlan_ctrl_wake

[11205.876414] c0 2137 active wakeup source: wlan_ctrl_wake

[11216.406145] c0 2137 last active wakeup source: wlan_wake

[11219.470220] c1 2137 active wakeup source: wlan_rx_wake

[11220.027512] c0 2137 active wakeup source: wlan_rx_wake

[11226.146199] c0 2137 last active wakeup source: qpnp_fg_update_sram

[11227.819084] c1 2137 last active wakeup source: qpnp_fg_sanity_check

[11229.348102] c1 2137 active wakeup source: wlan_rx_wake

[11230.327294] c1 2137 last active wakeup source: wlan_wake

[11230.714770] c1 2137 active wakeup source: wlan_rx_wake

[11231.316307] c1 2137 active wakeup source: wlan_rx_wake

[11235.495862] c0 2137 last active wakeup source: htc_battery

[11236.154880] c1 2137 last active wakeup source: qpnp_fg_update_temp

[11237.671425] c1 2137 last active wakeup source: qpnp_fg_sanity_check

[11238.073503] c1 2137 active wakeup source: wlan_ctrl_wake

[11240.758691] c1 2137 active wakeup source: wlan_ctrl_wake

DHD host wake interrupt count: 4451

DHD wakes in current dmesg: 24

DHD host wakes:

[11196.455477] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11198.653684] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11199.741153] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11200.838852] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11201.833210] c0 22315 505: 6 dhdpcie_host_wake

[11202.080495] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11203.193606] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11208.938254] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11209.927488] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11210.916538] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11211.850740] c0 22315 505: 5 dhdpcie_host_wake

[11212.068081] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11214.238799] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11215.332041] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11216.981797] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11218.089578] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11221.477989] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11221.872376] c0 22315 505: 6 dhdpcie_host_wake

[11222.581332] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11224.105678] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11225.216846] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11226.765077] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11228.408685] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11231.891237] c0 22315 505: 5 dhdpcie_host_wake

[11232.113168] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11233.224173] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11234.327165] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11236.718452] c0 2137 msm_mpm_exit_sleep: irq 505 tirggered msmgpio-122-dhdpcie_host_wake

[11241.915656] c0 22315 505: 4 dhdpcie_host_wake

Seconds per wake since first wake: 1, with end=11247, start=11196, count=28