The background function is called when the content-available flag is set to true. Having said that when the app is terminated, you will then lose the ability for the function to be called. There's not much you can do once the app is terminated. Let me know if this helps clear this up for you.
Airship Support London