I think there are advanced scripting tricks (like maybe Tasker) that let you automate this, but not sure.
Entropy512, is it safe to post a pcap file here? or does it have sensitive information? I am looking at it in wire shark and dont really know what I am looking for, I do my HTPC/server showing up alot as a SSDP protocol which seems to be related to a UPNP server, which could also be related to my Plex Media Server or iSedora media server.. I also see some UDP destination port 32412, plex port is 32400 so I am assuming it may be related to my plex server somehow.. ( I do have a plex app, but it doesnt always stay connected or anything like that)
I had wakelocks issue with K9 mail app. By default it uses push for receiving new email. I get moderate number of emails daily and I noticed that my phone spends too much time woke up with K9 being the reason. There is a report that K9 doesn't let the phone go for at least a minute after each push notification.
Things go back normal after I disabled push, switched to poll every hour and only first-level imap folders. Also increased default value imap-idle refresh timeout.
hope this will help others.