title: How to keep android application running in sleep mode?
body: <p>The problem is that my app stops working in sleep mode. The user wants to take orders in sleep mode via a bluetooth scanner. Is there any class which keeps the phone in sleep mode and in the background it takes orders, or any suggestion to achieve that task or any example app?</p>