Background Mode does not work when app is close

It seems that the background mode does not work when the app is close. It only works if the app is in tab. Is there any other way or plugin to do background service even if the app is close?

I try the same but not working when the app is closed.