How to know programmatically if 'Put unused apps to sleep" is enabled

I have an alarm clock app and therefore need to know whether “Put unused apps to sleep” is enabled on the user’s device. If it does, I need to let the user know how it can affect the clock’s performance. How can I achieve that?

It doesn’t look like you will get a solution on this discussion board. You can open a developer support request but I would also suggest you look at Android developer forums for a solution.

Ron
Samsung Developer Relations