I have Nubia Z17 lite with Android 7.1.1.
Alfred version 2164.
The phone is always power connected and the wifi signal is good (I can see it from the health check : about 65).
It goes offline and when I pickup the phone I discover that Alfred is not running anymore.
I disabled any battery optimization and I “locked” Alfred in the list of the apps.
I use two galaxy S1 and they are running quite good.
I really don’t know what to do else!