Report battery plugged in in health hal
Test: local
Bug: 77525053
Change-Id: I47e991da43131ecaed8fe916562f08b713325853
diff --git a/guest/hals/health/health_service.cpp b/guest/hals/health/health_service.cpp
index ae3d28f..48c2571 100644
--- a/guest/hals/health/health_service.cpp
+++ b/guest/hals/health/health_service.cpp
@@ -28,7 +28,7 @@
int healthd_board_battery_update(
struct android::BatteryProperties* battery_props) {
- battery_props->chargerAcOnline = false;
+ battery_props->chargerAcOnline = true;
battery_props->chargerUsbOnline = true;
battery_props->chargerWirelessOnline = false;
battery_props->maxChargingCurrent = 500000;