title: Stuck partial wake locks - AudioMix
body: <p>First of all, I'm not really sure if this is the right place to report this issue but can't find any info or any kind of documentation anywhere.</p>
  
  <p>Couple days(maybe weeks) ago Android Vitals started to alerting us about "Bad behaviour" in the Google Play Dashboard. The alert says "Stuck partial wake lock" and we got it on all of our applications but on really low percentages. Currently, the highest ratio is 0.93%. I'm not sure what was that about since we don't have any wake locks in our apps so I started digging.</p>
  
  <p>So far found a couple of interesting things:</p>
  
  <ol>
  <li><p>Each wake lock has TAG and looks like Android Vitals are tracking them by that TAG. The TAG 
  that appeared most is <strong>AudioMix</strong>;</p></li>
  <li><p>Most of the devices experiencing the stuck wake lock are <strong>Huawei</strong>:
  <a href="https://i.stack.imgur.com/JznGP.png" rel="noreferrer"><img src="https://i.stack.imgur.com/JznGP.png" alt="Android Vitals"></a></p></li>
  <li><p>Probably important detail - all of the apps are <b>WebView</b> based. We have some native functionalities(IAP, AdMob, Firebase), but let's say 90% of the application is web content.</p></li>
  <li><p>I used <b>adb</b> tool to check what wake looks are running and how long are they running. So
  I did a couple scenario:</p>
  
  <ul>
  <li>Using my application:
  After starting the app AudioMix wake lock starts. If I kill the app, AudioMix wake lock stops immediately, which is proper behaviour. But when I put application on background AudioMix wake lock stuck for like 1-2 min. I assume this is the problem;</li>
  <li>Random native game from Play Store:
  The same steps above but AudioMix stops immediately on the background.</li>
  <li>Random website in mobile Chrome:
  Now, this is really interesting. On background AudioMix stucks again around 1-2 min.</li>
  </ul></li>
  </ol>
  
  <p>Kinda lost here but it seems like this is a problem with the Chromium. Is there something that I can 'magically' hardcore. I have read the post on <a href="https://dontkillmyapp.com/huawei" rel="noreferrer">this site</a> but it seems like this is not the case here. Any suggestions?</p>