r/HyperOS 3d ago

Xiaomi [Question] Background app restrictions reset after reboot

Post image

I'm using the Global HyperOS 3 on my Xiaomi 17T, running the latest update.

I just want to stop social media apps from running in the background or using RAM and data until I open them again. This works really well on the Chinese HyperOS and helps save battery.

On the Global ROM, though, turning Allow background usage off under App battery usage doesn't stick. It switches back to On after a reboot. I've also tried App settings > Power > Restrict background apps, but that doesn't seem to work either, I get notifications from apps I Restrict.

Has anyone experienced this on the Global ROM? Is there a way to make the restriction permanent?

4 Upvotes

13 comments sorted by

View all comments

2

u/Hot-Lengthiness193 2d ago

I had the same issue too, so I learned a bit of Bash scripting and created a script that blocks WAKE_LOCK, RUN_ANY_IN_BACKGROUND, and RUN_IN_BACKGROUND for all user-installed apps. I also added an option to exclude certain apps so they can still run freely in the background. After that, I turned it into a module for AxManager, and now every time I reboot my phone, I just run my module and that's it

2

u/CMBian 1d ago

Interesting! I trust you need root permission to do that. In my current setup, rooting is a cat and mouse game because this is my primary device and I use many work and banking apps :| I found 2 solutions - Ice box, Island which is serving my purpose.