Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2c31d40d authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Pipe potential wakeup events from sensor service

Sensor events from wakeup sensors can cause CPU wakeups. Exposing an
aidl method to receive notification of such events from sensor service
native code.

Creating a helper method to retreive a Sensor object given a sensor
handle in SensorManager.
These notifications will be used to attribute to a wakeup in
CpuWakeupStats in a subsequent change.

Test: Manually trigger sensor events and check logcat.

Bug: 275436924
Change-Id: Ia16fa43dcd82e9a869db3b510292694a51e2b995
parent 7b888dcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment