powerstats: Add NFC stats am: 65afc07bcb

Original change: https://googleplex-android-review.googlesource.com/c/device/google/raviole/+/14269205

Change-Id: Ib65350f91e7785fcb5fc1e3eed7a79359776b470
This commit is contained in:
Benjamin Schwartz 2021-04-23 00:01:48 +00:00 committed by Automerger Merge Worker
commit cebdef70d3
2 changed files with 2 additions and 0 deletions

View file

@ -68,6 +68,7 @@ int main() {
addGs101CommonDataProviders(p);
addDisplay(p);
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-3/3-0008/power_stats");
const std::string instance = std::string() + PowerStats::descriptor + "/default";
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());

View file

@ -110,6 +110,7 @@ int main() {
addGs101CommonDataProviders(p);
addDisplay(p);
addNFC(p, "/sys/devices/platform/10960000.hsi2c/i2c-4/4-0008/power_stats");
addUwb(p);
const std::string instance = std::string() + PowerStats::descriptor + "/default";