The bug is Android OS holding device awake all the time and not letting it into deep sleep. It looks like it has not huge impact on battery life, but still it is abnormal. Rebooting devices, for me, curing this, but only for a day or two, after a few days wakelock makes its come back.
Unfortunately WakeLock Detector does not show who is guilty, looks like it is in the kernel. I just have bought BetterBatteryStats, and will look at its data tomorrow. What WLD does show is that my Nexus 4 had 0:00 of deep sleep today:
Here is what Android's battary stats looks like:
And here is what is should look like and does look like on my 2012 Nexus 7, that is unaffected by this. And stats looks the same for a few days after I reboot my Nexus 4, before wakelock occurs again:
I have to assume that it has nothing to do with connectivity, because same thing happens even if I disable wifi and mobile data entirely.
Here is a list of topics about the same issue I could found, but they only have questions, not answers.
Android Police's review of 2013 Nexus 7: http://cdn.androidpolice.com/wp-cont...2-16-14-17.png
XDA thread about another Nexus 4: http://forum.xda-developers.com/show....php?t=2388072
Reddit thread about Nexus 4: http://www.reddit.com/r/nexus4/comme...attery_issues/
Reddit thread about 2012 Nexus 7: http://www.reddit.com/r/Nexus7/comme...roblems_since/
UPD: one more thread about 2013 Nexus 7 http://forum.xda-developers.com/show....php?t=2394813
UPD: one more Nexus 4 thread http://www.reddit.com/r/nexus4/comme...ot_of_battery/
Unfortunately, I also do not have any answers (yet). The purpose of this post is gather all the info I've found in one place, and maybe rise the awareness about this.
Ok. I had BetterBatteryStats on my phone for 30 minutes, and this whole 30 minutes PowerManagerService held wakelock itself. So, it safe to assume that it is an offender.