summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/cmd_utils.py
diff options
context:
space:
mode:
authorLucas Dupin <dupin@google.com>2019-09-25 13:39:21 -0700
committerLucas Dupin <dupin@google.com>2019-09-27 16:12:21 -0700
commit6edeb187015a04e7ff6a8f06275336b7e4ac82e7 (patch)
tree6d78c18f15052730a7b856688e8c3bd10687d725 /startop/scripts/lib/cmd_utils.py
parentf94fa065d1e3b2e9ba58727e4b9ddc88a54f1244 (diff)
Keep interrupts on when in battery saver mode
Battery saver was completely aborting the doze service, disabling all interrupts. This is not ideal since it impacts the user journey, especially when using face auth. From now on the screen will still be off, but DozeService will be retained, in order to receive sensor events. Test: w/ battery saver: lift, tap, and observe aod being off Test: w/ battery saver: receive notification, no HUN. Test: w/o battery saver: lift, tap, and observe aod being on Test: w/o battery saver: receive notification, HUN is received. Fixes: 134157254 Change-Id: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804 Merged-In: I9b713c78857c4e4c22d8d9bfff165b1b51dfd804
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions