How can I turn off Adventure Sync?

In the Settings menu, uncheck the Adventure Sync option.

Adventure Sync must be deactivated in Pokémon GO's in-game settings for smartphones running Android 10. Adventure Sync will not be disabled if Activity Recognition is disabled via the Android OS.