powerstats: add NFC state residency stats
Bug: 227402176 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: Iff54b2b1c4be531222c6b0dc601b2b6838ccd5af Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
bfbc6e2545
commit
546a342277
1 changed files with 1 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue