WakeBlock Lets You Prevent Wakelocks on the Nexus 6P
Battery life issues that Android owners complain about are almost always caused by an application waking up the phone when it is idle and/or not in use. Google has been working to fix this (with Doze), and will continue doing work in this area with Android O. For now though, XDA Member GioBozza has released a system modification called WakeBlock for the Nexus 6P that lets you control which wakelocks are allowed. We’re told the application is in an alpha state though (so have a recent backup made) and is missing a lot of the options which are currently planned.
Check out WakeBlock in our Nexus 6P forum