In battery tips, we need synchronized method to get batteryInfo. This cl move the logic to BatteryUtils, then in battery tips we could use this method directly. Bug: 70570352 Test: robotest still pass Change-Id: Id69349a25395ae472a9b3152c6f04127ee32c4e1