Reputation: 8135
is there a change that i can get value from my phone's sensor when it is in sleep mode? If it can, which android version can do that? Thank you.
Upvotes: 0
Views: 283
Reputation: 5157
I assume that you can do so if your application is a background service which means can run even if it's not foreground you can keep track of accelerometer.
Even if the phone is in standby mode you just need to write your application as a service which is running as a background process and tracking the accelerometer sensor by doing so.
Upvotes: 1