AnsweredAssumed Answered

How to make sensor wakeup Android?

Question asked by Petar Bajic on Jul 13, 2015
Latest reply on Jul 14, 2015 by G.y. Chen

I have accelerometer driver lis3dh and I want to wakeup Android from deep sleep when device is moved.

My current implementation has additional driver registered as input device that sends power key code to Android. I call this drivers function from lis3dh and that is how I wake up Android.

I figure there has to be another way to properly wake up Android by sensor driver but couldn't find anything on google.. Anyone has experience with this?

Outcomes