Power-save battery issues on Xiaomi MIUI 12
On my Redmi Note 10 5G device running Xiaomi MIUI 12 (Android 11), the system doze white-listing dialog is simply not appearing. During initial setup, pressing the obligatory button does nothing, but gives us the green check-mark. Then after initial setup, our doze warning dialog pops up immediately, but pressing FIX also does nothing (uses same
Our special Xiaomi instructions are appearing during initial setup, but they don't apply to MIUI 12 it seems. Instead, there's a dedicated system activity we can launch and ask the user to click on "no restrictions" there.
adb shell am start-activity -n com.miui.powerkeeper/com.miui.powerkeeper.ui.HiddenAppsConfigActivity --es package_name org.briarproject.briar.android.debug
This library could either be used directly or as a knowledge source for tricks like this: