summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Nick Chameyev <nickchameyev@google.com> 2024-04-19 11:54:51 +0000
committer Nick Chameyev <nickchameyev@google.com> 2024-04-19 12:27:34 +0000
commit1a12af54e0197a900fc5221d23eb15829d598104 (patch)
treed0418c54032e3df156b1b073b641b7626fb92241 /api/api.go
parentbab84f3277a017b25dfdd12f7688b961a8e32cd0 (diff)
[FoldableDeviceStateProvider] Do not listen to hall sensor when not used
Disables listening to hall sensor when the new posture based closed state flag is enabled. When this flag is enabled we do not rely on hall sensor and use hinge angle sensor instead. Hall sensor is a wake-up sensor and it might waste power by waking up CPU when not needed. Test: manual check in sensor service dumpsys that we don't listen to hall sensor anymore Test: atest BookStyleDeviceStatePolicyTest Bug: 335386446 Change-Id: I89406859d5df23d17eea73113d4c46b273dd778b
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions