[automerger skipped] Merge "Fix an NPE in BatteryService" into rvc-qpr-dev am: 2b534bde0e am: be26ce76b7 -s ours

am skip reason: skip tag Change-Id Ic382d268f40a8ea31aaeedc7a85b6dc9b4e6c210 with SHA-1 780ca87adc is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13856050

Change-Id: Ia54bdf8c4d78d89c6d0a622bceaf60056873e125