powerstats: add NFC state residency stats am: 546a342277
am: 481ced38a3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/lynx/+/18220010 Change-Id: Ib1508b723548d6440c9b78cfd420a884ab45c509 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
67884da41f
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ int main() {
|
||||||
|
|
||||||
addGs201CommonDataProviders(p);
|
addGs201CommonDataProviders(p);
|
||||||
addDisplay(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";
|
const std::string instance = std::string() + PowerStats::descriptor + "/default";
|
||||||
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
|
binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue