Accelerometer in background
<p>I am in the process of developing an Android application with the intent of monitoring accelerometer data in the background. My own device is running Android 2.2. When the device is locked it no longer collects the accelerometer data. I am aware of the partial wake lock option, but due to the nature of my application it simply isn't ideal.</p>

<p>I have done quite a bit of intensive Googling on the matter. Some say this is a bug, that it is unintended. However, some say that it is intended. I've also read that this is fixed in 2.3.3 <a href="http://stackoverflow.com/questions/5671106/accelerometer-onsensorchanged-not-called-when-screen-is-off">here</a>. If that is the case, I will upgrade my own device. 
However, the comments on <a href="http://code.google.com/p/android/issues/detail?id=3708" rel="nofollow">this</a> page seem to contradict that.</p>

<p>I am led to believe using the partial wake lock will drain a battery fast. Is there any other way I can achieve what I want to do, or does anyone have any information on some sort of fix for this problem?</p>
