slavabarkov / tidy

Offline semantic Text-to-Image and Image-to-Image search on Android powered by quantized state-of-the-art vision-language pretrained CLIP model and ONNX Runtime inference engine
GNU General Public License v3.0
231 stars 15 forks source link

Program requires restart after being put into standby #10

Open alnmy opened 1 year ago

alnmy commented 1 year ago

When using the app after leaving it in the background for a while, the index is empty and no queries can be made, requiring a manual restart. I would guess that the most easy way to reproduce this would be to put this app into "Restricted" battery usage mode and using some other apps and waiting a while then returning.

alnmy commented 1 year ago

Should note that I'm using GrapheneOS, Android 14 and that this may not be an issue on other ROMs because many OEMs treat battery saving differently. https://dontkillmyapp.com/