yashsingh1/xdaforums huggingface dataset:
[HTC 10 Guides, News, & Discussion] Haldi4803:
Well well well.

To make sure i have no apps interfering i wiped my phone yesterday.

TWRP Wipe Data. Did NOT set a google account, simply installed BetterBatteryStats, ScriptManager and flashed SuperSU.zip

Left my phone alone for 13h40mins, it dropped by 34%, 2.5% per hour.

Then i flashed your Kernel fix, left it alone for another 8 hours, lost 19%, 2.4% per hour.

Turned WiFi Off, in 5 hours did not loose a single % of battery -.-

Of course all this was done in Airplane mode.

For the Normal one: http://pastebin.com/QX1pvTym

after flashing fix: http://pastebin.com/N13CuEXB

So yeah, here's the battery Historian.

The problem with this stuff is that i do NOT have WLAN_rx_wake problems... (not the Full Log as seen above, but only first part)

29% of lost battery is UNACCOUNTED, too much logging? well not enough....

Even the Kernel Wakeup reasons are most unknown.... but well yeah.... 42 seconds awake in over 13 hours? nobody cares!

So yeah.... i have literally no idea why my phone uses so much energy... -.-
[HTC 10 Guides, News, & Discussion] andybones:
I am on Wi-Fi about 80-90% of the day, and I do have this issue unfortunately. I can get amazing results though with this phone still, up to 8 hours SOT when I ran it down to 5% battery.

Here is a current screenshot of what I'm getting today, this is what I get normally. This is also on the Verizon base ROM and firmware which is still on 1.19xxx while everyone else is up on 1.80xxx - so I expect even better results if I were on 1.80xxx ROM base.

Hopefully this issue gets fixed by hTC soon, but I am still very happy with the device.
[HTC 10 Guides, News, & Discussion] devsk:
That's exactly why the fix does not help in this experiment. The fix will help when you have apps which generate data over wifi, generating enough rx_wakes to matter. In that case, "normal" will pull way ahead of "with fix" run in terms of battery usage.

A valid comparison would be a normal usage where you have google account added, multiple email accounts setup, sync enabled like you normally would, and then, you let the phone sit idle for few hours. Done with and without the fix.

But your experiment clearly shows that your phone (like my phone) is heavily wasting away battery for no reason really. And its all wifi chip's fault because disabling it makes the phone not lose even a single %age point in 5 hours.
[HTC 10 Guides, News, & Discussion] Igor6661:
that's why this is broken wifi IC, not software issue. if it would be software everyone would have the issue.

HTC should know about it, but acknowledging this problem would make HTC replace/fix lot of devices, just like it was the case with M7 at the end.

over the night i put my device in extreme power saving mode and it looses about 10-15%, and in EPSM everything should be disabled, so wifi IC is making this drain itself.

when i turn just wifi off, it hardly makes any drain, maybe 1-2%.
[HTC 10 Guides, News, & Discussion] devsk:
I am also leaning towards this conclusion.
[HTC 10 Guides, News, & Discussion] Haldi4803:
I was talking to HTC Web Chat Support last night. Because I bought my phone in Taiwan they're responsible for replacement.... I bought it with the "1day replacement warranty" wonder if that also works Outside of Taiwan / America.

My NFC isn't working either.
[HTC 10 Guides, News, & Discussion] devsk:
Are you getting it exchanged/replaced/repaired?
[HTC 10 Guides, News, & Discussion] Haldi4803:
Was talking to HTC America, they have me phone number of htc Taiwan that speaks English. But yeah, that's the plan if it doesn't take 3 weeks xD
[HTC 10 Guides, News, & Discussion] j0zu3:
I'm gonna get a new HTC 10 in about 15 days (shipping to my country too long) and I will like to help with test but dont understand exactly what to do, just install adb and run pots 4 like this?

adb shell
su
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wc

Also, how a good working wifi looks like? despite having 17 "No" votes, every post seem to have the issue
[HTC 10 Guides, News, & Discussion] devsk:
Its best to run the commands shown in post : http://xdaforums.com/showpost.php?p=67595029&postcount=271
[HTC 10 Guides, News, & Discussion] j0zu3:
I'm thinking not root the phone until check everything work, thats why im asking for this method to try to bring something to the problem
[HTC 10 Guides, News, & Discussion] SamueleBrancaccio:
Hi devsk... I have the same problem with my htc 10... 2 months+++ with this problem.... My htc 10 is EU version cid 034 1.80.401.X....

I conferm with 1.80.401.3 and only with 1.80.401.3 the problem is fixed... I contact htc (italy) support and talk about this problem 1 hour with operator call... After 2 week the OTA appear and fix the problem in my EU version... So the problem is software but connect with chip wifi... Maybe the htc 10 have 2 chip in production....

Sorry for my bad english...

Tonight 9 hours standby -4%... It's a miracle this 1.80.401.3
[HTC 10 Guides, News, & Discussion] devsk:
In the US, we are already at 1.80.617.1. That did not fix the issue for me, and that's why I went on this exploration.

I am still tight on time right now, but I plan to spend more time on this soon. The point is to minimize the issue to a point where we can live with it. I am more and more convinced that there are 2 versions of the US Unlocked phones with same SKU.
[HTC 10 Guides, News, & Discussion] MNoisy:
Will the patch work with the new elementalx version released today [. 9 to 10]?
[HTC 10 Guides, News, & Discussion] Freak07:
I think at htc update naming convention the .3 at the end indicates a higher software version as .1.

The 617 stands only for the region.
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Maybe I should convert my phone to WWE and put that international ROM on. Don't really care losing VoLTE and WiFi calling since I don't use them...

Did a clean install of ICE 2.0.7 today and lost 19% over 12h30m while I was not using the phone... Something has to give and explaining this issue to T-Mobile for a warranty replacement? Yeah right.
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Well if [MENTION=6303488]SamueleBrancaccio[/MENTION] is correct about 1.80.401.3, it would appear the issue is fixed with the latest OTA since he says he only lost 4% overnight. It's certainly better than more than twice that on the US Unlocked 1.80 base. I think I'm going to try 1.81.531.1 TMOUS first though. I haven't really seen much talk about that one.
[HTC 10 Guides, News, & Discussion] devsk:
If you do try that, please run the commands shown in post : http://xdaforums.com/showpost.php?p=67595029&postcount=271

Thx
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
1.81.531.1 conversion complete on my end. Now I need to root it. [MENTION=1416236]devsk[/MENTION] I need to know what I should install to get all those commands, I know others had issues with missing commands.
[HTC 10 Guides, News, & Discussion] devsk:
Its mentioned in the post http://xdaforums.com/showpost.php?p=67595029&postcount=271
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Give me a bit to setup the environment and I'll report back. Here's 50 pings though to start with.
[HTC 10 Guides, News, & Discussion] devsk:
You definitely have the issue. What kind of battery life are you getting from an idle phone with wifi on, with sync on? It should be less than 1% per hour.

This is another issue in tracking this thing down. People think they are getting great (as subjective a word as ever found in a dictionary) battery life, so there is no issue.
[HTC 10 Guides, News, & Discussion] Genetic517:
Well damn. Is there any other information I can give to you to help find the solution for this?

I figured this was pretty good battery life....
[HTC 10 Guides, News, & Discussion] devsk:
In that case, I would say, you can do better than that. I am sure you are using some battery saving techniques to achieve SOT of 6hrs+ in 24hrs period. Try keeping your wifi off for next 24hrs and see what you get. Make sure to not change any other variables. That will give you a good comparison. Please do post back because this is a good data point for my analysis.

I need more information from people who think they have a good battery life on wifi.
[HTC 10 Guides, News, & Discussion] Genetic517:
I'm unfortunately not able to run that long without wifi on due to my job. I basically work in a bunker so no cell service. That screenshot was from a full day I had off which probably won't happen for awhile. So if I'm already getting this type of battery life I wonder what I'd get when this bug is squashed! As I said, if you need any more info let me know and I'll gladly share. [emoji2]
[HTC 10 Guides, News, & Discussion] devsk:
I am noting down the time gap between suspend-resume action. If the gap between two suspend/resume cycles is longer, the phone gets to sleep more often and consume less battery. That's another factor. Ideally, we should not be suspending/resuming so often. In fact, we should not suspend the wifi chip at all when "Settings->Wifi->Advanced->Keep Wifi ON during sleep" is set. It consumes less CPU cycles and less battery to keep the chip ON during sleep than to suspend and immediately resume it, repeatedly. The driver should be strictly following the orders coming from the Settings->Wifi->Advanced->Keep Wifi ON during sleep.
[HTC 10 Guides, News, & Discussion] Allesa:
i'm surprised this has not attract more traction...
[HTC 10 Guides, News, & Discussion] devsk:
I think mostly because most people are happy to get one day's worth of good battery life. They don't know or don't care they can get more out of this phone....:)
[HTC 10 Guides, News, & Discussion] grega_slo:
I'm in the same boat... This is unacceptable and I really hope that htc will fix it... Either by firmware or software...

I have tons of wlan_rx_wake wakelocks...
[HTC 10 Guides, News, & Discussion] Allesa:
I'm pretty sure 7 hours + 3/4 days standby or 6 hours + 24 standby will be achievable easily on wifi if this problem gets solved...

edit: Dev of Leedroid ROM says it's a hardware issue. http://xdaforums.com/showpost.php?p=67238028&postcount=4000

That actually makes sense... Drain is a lot, yet phone sleeps normally... (94%-95% at night)
[HTC 10 Guides, News, & Discussion] grega_slo:
Wifi reconnects and such have nothing to do with antenna.

It happens 2-3 meters from wifi router so....

I would say it`s firmware issue and that it will get resolved eventually maybe in 1.55?
[HTC 10 Guides, News, & Discussion] Allesa:
sadly i was in stock 1.55 when i noticed this drain.

After that I rooted and went custom rom + kernel to try if the problem gets fixed

Dunno, maybe this problem accidentally brought in by HTC when they were trying to fix wifi issues such as on this thread http://xdaforums.com/htc-10/help/wifi-issues-htc-10-weak-signal-fail-t3368165/page14
[HTC 10 Guides, News, & Discussion] dvsk69:
I have had the exact same issue on HTC A9 before I sold it. It was worse and there were very frequent disconnects/ reconnects with Wifi leading to high batter drain.

I tried all options including reset, changing the router, changing frequency, etc none of them ever worked. I finally returned the device and later learned that it's actually a hardware issue with wifi antenna. In line with what [MENTION=398245]LeeDroid[/MENTION] said in the post above.

Cant believe its still on the 10. It's definitely a deal breaker for me. :(
[HTC 10 Guides, News, & Discussion] grega_slo:
I really hope to get it fixed I had like 2 days with M8 and now 14-16 hours of same usage with the 10.
[HTC 10 Guides, News, & Discussion] Haldi4803:
Okay...... one more.

# /system/bin/sh
root@htc_pmeuhl:/storage/emulated/0 # su
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc <
0 0 0
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc <
0 0 0
ie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[60994.317980] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61003.627425] c3 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61009.337581] c2 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61024.357313] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61039.336898] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61054.347164] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61069.338367] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61084.338927] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61087.137971] c2 32352 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61090.258378] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[61095.148727] c2 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61097.038041] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61102.497833] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61117.498919] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61132.596881] c3 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61147.577196] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61154.716996] c0 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61162.577353] c2 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61174.758191] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[61192.578628] c1 460 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
ie_pm_suspend: RC0: PM_Enter_L23 is received" | wc <
22 176 1672
root@htc_pmeuhl:/storage/emulated/0 #

First I was in flight Mode, switched back to normal. WiFi Off and WiFi Location off.

So its 0 ;)

Then activated WiFi and was searching for network for about 3 Minutes. Never connected to any.

Why does it suspend WiFi when searching for Networks?
[HTC 10 Guides, News, & Discussion] wineds:
Just a guess but I think think HTC are trying to use software to patch a hardware issue with the broadcom WiFi chip.
[HTC 10 Guides, News, & Discussion] grega_slo:
This is what my openwrt says (MAC masked):

Thu Jun 9 13:50:11 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: deauthenticated due to local deauth request
Thu Jun 9 13:53:59 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: authenticated
Thu Jun 9 13:53:59 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: associated (aid 3)
Thu Jun 9 13:53:59 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa WPA: pairwise key handshake completed (RSN)
Thu Jun 9 13:55:00 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: disassociated
Thu Jun 9 13:55:01 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Thu Jun 9 13:55:04 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: authenticated
Thu Jun 9 13:55:04 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: associated (aid 3)
Thu Jun 9 13:55:04 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa WPA: pairwise key handshake completed (RSN)
Thu Jun 9 13:56:06 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: disassociated
Thu Jun 9 13:56:07 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Thu Jun 9 13:56:27 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: authenticated
Thu Jun 9 13:56:27 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: associated (aid 3)
Thu Jun 9 13:56:27 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa WPA: pairwise key handshake completed (RSN)
Thu Jun 9 13:57:28 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: disassociated
Thu Jun 9 13:57:29 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Thu Jun 9 13:57:32 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: authenticated
Thu Jun 9 13:57:32 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: associated (aid 3)
Thu Jun 9 13:57:32 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa WPA: pairwise key handshake completed (RSN)
Thu Jun 9 13:59:03 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: disassociated
Thu Jun 9 13:59:04 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Thu Jun 9 13:59:07 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: authenticated
Thu Jun 9 13:59:07 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa IEEE 802.11: associated (aid 3)
Thu Jun 9 13:59:07 2016 daemon.info hostapd: wlan0-1: STA aa:aa:aa:aa:aa:aa WPA: pairwise key handshake completed (RSN)

HTC is got to be kidding :S
[HTC 10 Guides, News, & Discussion] devsk:
Every time the driver suspends, you get disassociated. But then, it resumes right up, causing an association. So, you can actually count the lines in this log and look at the start/end times to see how frequently the driver is deciding to sleep and then wake right up. To the unaided eye, it looks to be too often...:)

I feel its not a hardware issue. I think its a driver issue. Broadcom made some changes in Feb in their driver to reduce batter usage but had the reverse effect. I am sort of running tight on time but if someone (@flar2?) who builds kernel for HTC 10 can build the bcmdhd driver without the macro SUPPORT_PM2_ONLY, then affected people can try it out.

Here is the code that forced the PM2_ONLY mode from ./drivers/net/wireless/bcmdhd/Makefile

# Set PM 2 always regardless suspend/resume
DHDCFLAGS += -DSUPPORT_PM2_ONLY

Comment out the second line and rebuild the driver.
[HTC 10 Guides, News, & Discussion] Allesa:
if anyone can solve this it's him :D
[HTC 10 Guides, News, & Discussion] Genetic517:
Im sure [MENTION=4684315]flar2[/MENTION] and [MENTION=1416236]devsk[/MENTION] can save the day. Flar may be out for a bit though, I believe he said he'll be on vacation in the Ele X thread. I'd love to see the kind of battery life I can get if this was fixed. I already thought my battery life was pretty great to begin with..
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Well I guess Wi-Fi is going to be off for me and I'll finally be putting my T-Mobile 6GB data plan to use...

And yes I'm aware that was after shutting it off, there are a bunch of entries up the log however.
[HTC 10 Guides, News, & Discussion] devsk:
[MENTION=609933]EtherealRemnant[/MENTION]: since you are starting from scratch: may be you can collect data in 4 cases, all done with a fresh boot and idle for 30 mins before data collection:

1. without any google account and user apps without my fixed kernel

2. do 1.) with the fix

3. normal setup with all your accounts and apps without the fix

4. do 3.) with the fix

See if its possible with respect to your time. If not, please do 3.) and 4.)

Thx a bunch!
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
lol you want me to go 30 minutes without using my phone? Blasphemy!

I already fully set it up and for some stupid reason HTC's sync takes FOREVER to restore my contacts and calendar but I'll do 3 and 4.
[HTC 10 Guides, News, & Discussion] devsk:
lol..No worries bud! I think 3.) and 4.) is the interesting comparison anyway.
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Okay I used Notepad++ to make the script so I wouldn't get any Windows formatting nonsense and run I run the source command, its telling me "syntax error: ' unexpected"

Copying and pasting from Chrome on Android is a bit of a nightmare... I copied it exactly as it said to and I even opened up the file on the device with Notepad++ to compare them and they're the same so its not something funky Windows did.
[HTC 10 Guides, News, & Discussion] devsk:
check the end of line on every line. I think somewhere a matching double quote is missing or went over to a new line by itself.
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Not that I can see. I even made a fresh one, zipped it with WinRAR, and unzipped it on the device to make sure it was kept intact. Same error. Here's the code from NP++
[HTC 10 Guides, News, & Discussion] devsk:
The following lines may be an issue:

echo "DHD host wake interrupt count: $(grep "msmgpio 122" /proc/interrupts | awk '{print $2}')"
echo "DHD wakes in current dmesg: $(grep "Resume caused by msmgpio-122" /sdcard/dmesg.out | wc -l)"

Make them look like this:

echo "DHD host wake interrupt count: $(grep \"msmgpio 122\" /proc/interrupts | awk '{print $2}')"
echo "DHD wakes in current dmesg: $(grep \"Resume caused by msmgpio-122\" /sdcard/dmesg.out | wc -l)"

Basically, the inner double quotes need to be escaped.
[HTC 10 Guides, News, & Discussion] devsk:
Which shell are u using btw? Also, put your script back in CODE markers here for me cut&paste.
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Same error.

As you can see in the image, I was trying a few different things. awk isn't even available with Meefik's package it would seem.
[HTC 10 Guides, News, & Discussion] EtherealRemnant:
Either way, it doesn't matter.

1|root@htc_pmewl:/ # dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail
dmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | wcdmesg|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 ig|grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | head <
[ 2269.720802] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2273.232415] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2286.922841] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2304.210716] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2316.230588] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2333.491756] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2350.770716] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2368.050556] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2385.323801] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2404.320689] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
grep "msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received" | tail <
[ 2720.860980] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2723.922408] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2727.022890] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2730.012676] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2733.130680] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2737.111387] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2739.310856] c1 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2742.401129] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2745.454513] c0 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
[ 2749.352117] c2 457 msm_pcie_pm_suspend: RC0: PM_Enter_L23 is received
root@htc_pmewl:/ #

Problem is there. I don't know how to read the interval though.
[HTC 10 Guides, News, & Discussion] devsk:
Can you cut&paste the script back on to the forum under CODE tags?

Also, just cat the file inside adb shell also. That way I can see both versions. Its bizarre that u are running into this!

I will sort the awk thingy out in the meantime.
[HTC 10 Guides, News, & Discussion] INDIAN-MAfIA:
Coincidentally, I was aslo trying to run the script to check if your fix was added to the flar's latest kernel build but I also am getting the same error as in the image.

Edit: ran the code in the second post and I don't think it has been. Could you compile a kernel with your fix?