MicroG-RE icon indicating copy to clipboard operation
MicroG-RE copied to clipboard

Still no way to turn off battery optimization on HyperOS 2. Even if i showed app

Open OsirisDev001 opened this issue 8 months ago • 3 comments

Image

Image

OsirisDev001 avatar May 11 '25 09:05 OsirisDev001

Is there a solution?

xevra-hub avatar Aug 11 '25 03:08 xevra-hub

Screenshot_2025-08-13-22-42-31-358_com.miui.securitycenter.jpg

ok it seems it was related to hiding the icon that explicitly disabled the activity.

WSTxda avatar Aug 14 '25 01:08 WSTxda

@VadimkaVitaminka001

Meanwhile, you can disable battery optimization by adding the app to whitelist via adb.

Command: adb shell dumpsys deviceidle whitelist +<app ID>

For MicroG: adb shell dumpsys deviceidle whitelist +app.revanced.android.gms

I haven't tested it on HyperOS, but it should work.

NaeemBolchhi avatar Aug 14 '25 06:08 NaeemBolchhi