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

Skip to content
Commit a12b7957 authored by Kweku Adams's avatar Kweku Adams
Browse files

Partially revert "Make Light Doze timings deterministic."

This partially reverts commit 1256b08b
to return to S behavior. We still retain the removal of one intermediate
state that wasn't fully necessary to the light dozing flow.

Reason for revert: b/243380086

Using an "implicit" light Doze means other parts of the system never
stop work and other app behaviors they otherwise would have if
the DeviceIdleController had explicitly entered light Doze.
Thus, using an "implicit" light Doze state to avoid a wakeup alarm
actually ends up potentially increasing battery drain.

Test: atest DeviceIdleTest
Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest
Change-Id: Ia976b1df6de091755b5b755424e44fb392a61ee5
parent b4cdde89
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