platform_hardware_interfaces/sensors
Brian Stack f2aca3b487 Acquire and Release Wake Lock
Acquire a wake lock in the Sensors 2.0 Default implementation whenever
there are outstanding WAKE_UP events. Release the wake lock whenever
the number of oustanding WAKE_UP events is zero or at least
SensorTimeout::WAKE_LOCK_SECONDS seconds have elapsed since the
previous WAKE_UP event was written to the Event FMQ.

Bug: 111070257
Test: Builds, wake lock is acquired and released as expected.
Change-Id: I7c57724430144fd4022646d1fef1b1fa8bc4235d
2018-11-14 16:04:44 -08:00
..
1.0 Update member variables to use mNamingConvention 2018-11-07 17:26:01 -08:00
2.0 Acquire and Release Wake Lock 2018-11-14 16:04:44 -08:00
common/vts Update member variables to use mNamingConvention 2018-11-07 17:26:01 -08:00