My app gets "Stuck partial wake locks (background)" bad behaviour badge on Google Play for 0.2% of sessions, all Android 8.0 or 8.1. I'm pretty sure it is because of Native Code I have.
Is there any way to debug this issue? I mean, ANRs and Crashes are reported by system, but is there any way to debug Partial Wake Locks? I don't even have any direct calls to it. My code literally have no mention of wake locks at all.
Also, almost all wake locks, according to google console, are happening over first minute. This is extremely frustrating, to be punished for something I have no idea why happens, and threshold is 0.1%...
I am looking for any methods to verify "Stuck partial wake locks (background)" on my device, so I can at least see if I fixed it without rolling out new updated to user not understanding what I even fixing :(