Background Service is used when even user close application (discard from recents) and when Service is doing something not visible to user like downloading data from server, load data from a ContentProvider etc.. And Foreground Service is less likely to be killed by system on low memory.7 Kas 2011
Read moreWhat is foreground and background services?
A Background Service is a service that runs only when the app is running so it’ll get terminated when the app is terminated. A Foreground Service is a service that stays alive even when the app is terminated.1 Eki 2021
Read more