Waydroid and suspend

Hello folks,

I need to use Waydroid to get MFA from my bank, which is basically my only, but crucial use case.

To make use more bearable, I created two icons for it. One does waydroid stop and the other one stops the waydroid container.

However, sometimes after fully stopping Waydroid, my phone fails to suspend. After getting out of battery on the street a few times, I found out a quick check: try to restart the phone. If Waydroid is stuck, I will have on the restart window information that “Waydroid is preventing idle”. If the restart popup is clear, I know the phone will suspend. So far, the only way to truly make Waydroid go away is, of course, to restart. If Waydroid was stuck and I start a new Waydroid session, next time I try to restart Waydroid will be listed in the restart popup twice.

So my questions are:

  1. How could I find what is going on? More specifically, why does it happen only sometimes? I found out that if I Force Quit background applications before stopping Waydroid, sometimes I get rid of the problem.
  2. How can I kill all Waydroid-related processes without restarting the phone? I could then put a script together and add it to the home screen as a shortcut.
2 Likes