Add null check to batterymeterview in case the percent view becomes null

Seems like this can only happen if we have a successful battery reading and
then immediately the conditions change causing us to remove the precent
view.

Test: atest SystemUITests
Fixes: 180019511
Change-Id: I4bf8508a9cef18ade62863b07086254e39897059
1 file changed