diff --git a/powerstats/service.cpp b/powerstats/service.cpp index 159a427..5887942 100644 --- a/powerstats/service.cpp +++ b/powerstats/service.cpp @@ -63,6 +63,7 @@ int main() { addGs201CommonDataProviders(p); addDisplay(p); + 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());