I'm looking for a solution which safes the battery in my "location based app". I got a question to the Activity Recognition, which provides Google for Android. Actually I got the problem that my phone will only recognize my current "activity" when the phone is awake. When screen turned off, the recognition doesn't do it's job. After unlocking the phone (screen on) the recognition resumes. Is that normal? I can't imagine, because the API provides activities like "riding bike" - who had ever his screen on while riding a bike?!
Is there any other good approach how to check if somebody is driving a car? Will it be possible with other sensors (like accelerometer)? Please let me know. I'm grateful for every little advice.
Thanks in advance.