Originally Posted by anotherfiz
So, yes, the app only worked for 33 seconds because each wakelock probably required only a few milliseconds to do what it needed to do.. but the phone does not go to sleep instantly after each wakelock. so for each of the 184 times that app woke your phone up, it was "awake" for 5-15 seconds or however long it takes the phone to decide its time to go to sleep again. Awake time for me is almost always a function of screen time, like 1.5x - 2x my screen time.
so any idea on a solution besides setting up for my email to only check every half hour. It is set to push right now. Given I don't need it at night really and i can set something up to change when it is allowed to check for emails. But sometimes I am up at 2 because I get an email that requires me to do work. Also, the qcom_rx_wakelock that kept m phone on for 32 minutes or something doesn't seem to have to do with the email. But maybe when the email tries to access the internet that wakelock runs to try to get wifi...
edit: I did more research on the qcom_rx_wakelock. I still don't understand it all but it is some issue that the 4.2.2 update came with. It causes major battery drain on some wifi networks and not on some others. It has to do with the wifi connection continuously having to talk to the router and waking the phone up which is also tied to some apps that are syncing. People on nexus's have created patches that fix the issue, but I don't think I'm going to be doing anything like that. I PMd a member to try and get more information.
For now I have two routers at my house and will be switching to using the other router for my wifi connection on my phone to see if it creates the same battery draining issues while in sleep. If I get any more information I will update again. I also think this could explain a lot of the reason that some people are experiencing sub-par battery life while others are getting great battery life. Depending on what router (work, school, home, public place) you are on might make the phone constantly turn itself on and off trying to reconnect or do something with that wifi network. I know many people have had 15 to 20% battery drain overnight then turned wifi off and just stayed on 3g/4g connection and battery drain went to 4 to 5% over night. FYI