This background application sample works in the same way as Skype application:
https://github.com/GrapheneCt/BG-App-PSVSceBgAppUtil is used to manage BG application state from main application and SceNotificationUtil is used in BG application to send custom notifications.
Notifications from BG application can be enabled/disabled in Settings->Notifications. BG application can be restared from main application once it finished working (after the 20sec notification).