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

Commit 68a916bf authored by Fiona Campbell's avatar Fiona Campbell
Browse files

Introducing PARTIAL_SLEEP_WAKE_LOCK

- This is a type of wakelock that, if the device is asleep, will
  supersede any others, and prevent the device from waking and keep
  the cpu awake.
- Create wakelock, and use it if flag is enabled

Bug: 422700606
Bug: 427661256
Flag: com.android.server.power.feature.flags.partial_sleep_wakelocks
Test: adb shell cmd power set-wakelock acquire -d 0 PARTIAL_SLEEP_WAKE_LOCK
Test: adb shell dumpsys power | grep -i wake.*lock.*size -A10

Change-Id: I4173e5848646d9bc9f13bc666db848113f3730db
parent 44fba6c5
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