So I finally figured out that it's a new thing called Doze? And it kills all apps after a certain amount of time. Does anyone know how to turn this off totally, or even for certain apps? I tried googling it but I can't find any instructions for the galaxy s5 in particular. My alarm app must be getting killed in the middle of the night. It's pretty annoying. Thanks for any help!!