Android - Is it necessary to put the app to "never sleep" for adventure sync to work?

I would like to save some battery, but I also want adventure sync to always work. Does adventure sync only rely on location to be on? Am I fine as long as I allow it to use background data as well as allowing it in the background? Are these two even necessary? What about allowing the app to be “optimized?”

Adventure sync should also work on the background