[LG G6 Real Life Review] Unundra:
After many moons of trying to pinpoint the cause of my painfully quick standby drain (~2h SOT) I've finally found the culprit. I wasn't able to solve the problem yet though, just avoid it... Perhaps someone here can help.

It turns out my phone never really goes into deep sleep while I'm at work which, unfortunately, is most of the day. I study and live on an university campus that has a WPA2-Enterprise network (TTLS, PAP) on both my workplace and the dorm. While I'm at home the phone goes into deep sleep almost immediately (I have Greenify's aggressive doze enabled), whether I'm there overnight or just for a quick snack. However, while I'm at work the phone insists on being active with the screen off. One can actually clearly see when and for how long I was at work just by looking at my battery consumption graph, it looks like a staircase.

I have a rooted US997 so I was able to dig a bit further into this. I found out, thanks to BatterBatteryStats, that the culprit is a kernel wakelock by the name "wlan_rx_wake". I had never heard about it before and so I've been reading a lot about it since finding out it was the reason behind my drain. It appears to be have been a fairly common problem on some android phones for a while now, but I don't think nobody really knows how to solve it. The most common solution is to change routers and/or internet settings, which is not going to happen in my case. Another quite efficient fix seems to be the use of a custom kernel... Yeah, also not going to happen, at least not for a while. Some people partially solved the problem by ditching DHCP for a static IP and disabling IPv6, which I've tried without any effect, as well as connecting to 2.4 GHz networks only, an option which unfortunately has been disabled on android for a while now. Finally, some people found that they had some sort of app running on a different device on their network that was sending packets all over.

This is where it gets tricky, for I know nothing about networking. I installed several packet sniffers and found out that my phone is being bombarded with packets or icmp echo requests (ping) all the time. The only difference is that instead of having like Dropbox running on my desktop sending packets to my devices at home, I have hundreds of unknown devices going crazy shooting packets all over the building. I'm pretty sure this doesn't happen with any of my other android devices, so I assume the G6's kernel should just be ignoring all these requests instead of keeping awake. I've installed a firewall (AFwall+) and tried to run some custom iptables scripts. Keep in mind though, that I know very little about this. First I tried to block a few specific IPs that I saw on the sniffers were sending me packages, but every time I blocked those few I immediately got packets from a few new ones. Also, there's a chance those devices don't even have static IPs, so this method would end up being useless anyway. I then tried to block and/or ignore all incoming icmp echo request with a handful of different scripts, but I just ended up loosing all internet access (probably my bad). Given that at the dorm none of this happens, probably because there aren't that many devices, if any, sending packets, I assumed the problem was with the LAN. I therefore disabled all app's LAN access on AFWall+, but it also din't make any difference... Which makes sense because my phone is not sending packets on it's own, just responding. Also, it's a kernel wakelock, so no specific app is causing it.

All in all, the only "fix" I've found so far is to either connect to a guest-net or use mobile data while I'm at work... Or just skip work altogether, haha. However, if any of you guys are having fast draining exclusively when connected to a specific wireless network you might just have to disconnect your wireless printer or something!

I'm enrolled in LG's developer program so I think I'll drop those guys a line. I was half afraid I'd make a fool of myself for not seeing something obvious though, so I thought I run this through you guys first.

Btw: Long time reader, first time commenter. Go easy on me!