They can do both. Devs need to explicitly code for that and you should be able to toggle it in the menu per app."Background Tasks API". Jesus just add an option to settings to allow an app to actually run in the background vs devs having to add code to use background tasks.