diff --git a/powerstats/cheetah/service.cpp b/powerstats/cheetah/service.cpp index e1fe382..bd2c281 100644 --- a/powerstats/cheetah/service.cpp +++ b/powerstats/cheetah/service.cpp @@ -75,7 +75,7 @@ int main() { addGs201CommonDataProviders(p); addDisplay(p); // TODO(b/206566167): Add UWB state residency - // TODO(b/206901670): Add NFC state residency + addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats"); const std::string instance = std::string() + PowerStats::descriptor + "/default"; binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str()); diff --git a/powerstats/panther/service.cpp b/powerstats/panther/service.cpp index 9be4b79..094db17 100644 --- a/powerstats/panther/service.cpp +++ b/powerstats/panther/service.cpp @@ -66,7 +66,7 @@ int main() { addGs201CommonDataProviders(p); addDisplay(p); - // TODO(b/206902456): Add NFC state residency + addNFC(p, "/sys/devices/platform/10970000.hsi2c/i2c-4/i2c-st21nfc/power_stats"); const std::string instance = std::string() + PowerStats::descriptor + "/default"; binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());