Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
power/wakelock: Add a timeout to wakelocks globally
Few wakelocks tends to get stuck for no reason. Blocking them isn't necessary and sometimes blocking them breaks basic functionality. Wakelocks like "tx_swr_ctrl" tends to get stuck if we keep earphones connected and drops battery massively. Test: Keep earphones plugged in and leave device for few hours Expected result: No "tx_swr_ctrl" is being stuck. Actual result: Patch is working as expected. Change-Id: I5296990a84ab44cf6e449d6535b8b99408c415c8 Signed-off-by: Panchajanya1999 <[email protected]> Signed-off-by: Forenche <[email protected]>
- Loading branch information