diff --git a/services/sensorservice/BatteryService.cpp b/services/sensorservice/BatteryService.cpp index 70b65ab69..38dc74996 100644 --- a/services/sensorservice/BatteryService.cpp +++ b/services/sensorservice/BatteryService.cpp @@ -33,7 +33,7 @@ namespace android { BatteryService::BatteryService() { const sp sm(defaultServiceManager()); if (sm != NULL) { - const String16 name("batteryinfo"); + const String16 name("batterystats"); mBatteryStatService = sm->getService(name); } }