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

Skip to content
Commit f8220c54 authored by Zhengping Jiang's avatar Zhengping Jiang
Browse files

bluetooth: acquire wakelock when connection is complete

Acquire a wakelock when receving a connection request during system
suspend. Wait for a timeout to release the wakelock, so the bluetooth
device has time to send input events and wake up the system. If
bluetooth resumes first, also release the wakelock. The timeout is
defined with sysprop. If the timeout is zero, the request for wakelock
is ignored.

Bug: 369686962
Bug: 366432079
Test: m -j, suspend system and wake up with mouse
Flag: adapter_suspend_mgmt
Change-Id: Ia6aab33857d4d7a2ddc7c5ff8e182ab42cb77825
parent bb017b59
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment