sensors: mpu6515: grab wakelock on significant motion event

The kernel sensor driver grabs a half second wakelock to allow time
for this HAL to read the significant motion event from the kernel and
grab its own wakelock.  The HAL holds the wakelock until Sensor
Services calls poll() again, assuring that Sensor Services has
read the SMD event and will have grabbed its own wakelock.

Bug: 16540661
Change-Id: I1c88cd9386a9f711e6cba81a14539b835f4e7414
2 files changed
tree: e1d68c6d3830129332b41c455a2e0d91b58a7cdd
  1. 60xx/
  2. 6515/
  3. 65xx/
  4. Android.mk