I put on the smartphone + android several applications of messengers (skype, whatsup, telegram) and 2 different alarms. When an application is active (open on the main display) - it works stably, if you go into another application leaving the first application on the 'second background' (without closing it), then the second application after a couple of hours in such a "background" stops working messages for messengers and the alarm does not ring).
Considering that “falling asleep” of applications does not begin immediately, but after a couple of hours, this leads to certain thoughts that some process is forcibly completing them ...
How to be?
UPD: android 6.0.1, clean.