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

Reduce min time to alarm.

Reduce the minimum amount of time needed before the next AlarmClock
before the device will go into Doze from 60 minutes to 30 minutes. If
we're this close to an AlarmClock, AlarmManager will wake the device
from idle 0-15 minutes before the AlarmClock, so going into Doze even
30 minutes before will give the device 15-30 minutes of Doze time.

Bug: 149341011
Test: atest FrameworksMockingServicesTests:DeviceIdleControllerTest
Change-Id: I259e930f86ff1a8708c1be9c4b42f435ceef73b5
parent a23f461e
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