Avoid hardcoding BATTERY_PLUGGED_ANY constant.

Bug: 284904539
Test: TH
Change-Id: I8685f8008fd4a431136ef2900b45509f2ef7cc0b
1 file changed