Change some light idle alarms to non-wakeup.
Changing some light idle alarms to non-wakeup to reduce the number of alarms that could potentially wake up the device. If the CPU is already in suspend, we don't need to wake it up just to officially enter doze light. We can just wait until the CPU wakes up to do the transition. On a particularly active device, this won't change the time we enter Doze light much, but on a quiet device, the Doze light and maintenance windows may be shifted significantly. Bug: 185466339 Bug: 197216833 Test: atest DeviceIdleTest Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest Change-Id: Ib9bf9e120c806e61eced99fbfb84cdb19d844e69
Loading
Please register or sign in to comment