Device... Software... These are the bare minima if you want meaningful and accurate information. Some apps will have permission to overlay. Also apps like Twilight etc need to be turned off at times when you get that message..
We really need more info if you want accurate answers... Join the forums and we'll talk you through it