Skip to content
Commit d7367c39 authored by Michael Wright's avatar Michael Wright Committed by Rupesh Bansal
Browse files

Sleep softly on device close.

Add a new flag GO_TO_SLEEP_FLAG_SOFT_SLEEP. When set, this sleeps the
device only if its user activity keeping it awake. If its otherwise
staying awake because an application is holding a wakelock, then the
device continues to stay awake.

Bug: 260705307
Test: atest PowerManagerServiceTest
Test: manual
Change-Id: I08b6dacf418d927b4f86816b1b6d19965e68556a
parent 4ee9f703
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