I do not receive notifications after a few minutes - onesignal

All goes well with notifications. But after a few minutes I no longer receive notifications until I unlock the device. Does it have something to do with the background?