That API lets you say "don't suspend me yet, give me some time to finish my work before I go to sleep", but it's tied directly to an active session; once the app suspends, it doesn't wake up again until the user revisits it.
The new background task API is "wake me up in the background at some point when the device is idle, so I can do some utility work, such as training my CoreML model with recent data".