summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceUtils.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2022-11-14 22:53:07 -0500
committer Lucas Silva <lusilva@google.com> 2022-11-14 22:53:07 -0500
commita233bba91e64b6441d363a6485aff58d72f815ef (patch)
tree00d2d7389e9756c662b582d9c8798bf4e7b6201d /libs/androidfw/ResourceUtils.cpp
parent2d7fb7b2b5456cd575d31b577a3a2641bec76235 (diff)
Update dream battery drain monitoring to exclude when charging is being
artificially limited. We may limit charging when battery is overheating, or due to dock defend or other battery defend mechanisms. In these cases, the battery is expected to drain while dreaming since charging is limited. Therefore, do not exit dreams in this case. Test: atest PowerManagerServiceTest Fixes: 258027228 Change-Id: I10ce0c848892b42267d819d07a284d17a97899d1
Diffstat (limited to 'libs/androidfw/ResourceUtils.cpp')
0 files changed, 0 insertions, 0 deletions