Finally, i put a foreground service (at the same time than the existing WallpaperService) and disabled battery optimisation, and it seems to work, my WallpaperService stays alive