Use android.app.Service and SensorEventListener while screen is off (Android 2.1)
<p>Hi: I'm using Android 2.1 on a HTC Nexus One. I want to collect sensor data while the device is turned off. 
By using android.app.Service this works well while the app is in the background but stops working when the display is turned off by the hardware button.</p>

<p>Is there a possibility to collect sensor data while the display is turned off?</p>
