mirror of
https://github.com/Evolution-X-Devices/device_google_redbull
synced 2026-01-27 14:43:48 +00:00
This change adds support to PowerStatsHAL on redbull devices for reading NFC power state stats for inclusion with other subsystem power state stats. The data is already present in sysfs; this CL (in combination with the associated selinux change) simply adds reading of that data. Bug: 217388683 Test: lshal debug android.hardware.power.stats@1.0::IPowerStats/default Test: cat /sys/class/misc/st21nfc/device/power_stats Change-Id: I71c87c3b7480132678cb1de76f1628740b38bff4