• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

Question Greenify won't work at all

Search This thread

Mister_Dave

Senior Member
Aug 29, 2016
88
11
Hi,

I installed Greenify, and I have granted it all required permissions, but doesn't work at all: it doesn't freeze applications in manual way nor in automatic way (on screen lock).

If I press the button (zzz) to manually freeze, will be opened the info window of the application which I want to freeze, but the application will not be freezed; if I lock the screen using the power button and then I unlock the screen and I open Greenify, I see this message:

Screenshot_2021-10-28-11-55-42-104_com.oasisfeng.greenify (1).jpg


1: I tried to set a smaller delay before screen lock
2: power button, lock the screen instantly, instead.

What can I check? Maybe Greenify is not compatible with Android 11?
I am on MIUI 12.5.4.0

Thanks.
 

Mister_Dave

Senior Member
Aug 29, 2016
88
11
You're right, I agree; I'd just wanted to test it.

Anyway I'm currently rely on ADB commands (with LADB — Local ADB Shell) executed by bash scripts by Termux (and its widget on home screen):

Code:
adb shell cmd appops set $PACKAGE RUN_IN_BACKGROUND ignore
executed once after boot inside Termux.

And on
Code:
adb shell am force-stop $PACKAGE
executed on demand using the Termux widget.
 
Last edited: