powerstats: Add Uwb stats

Bug: 180956351
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ib528558b2efae9a35494bafcf2c675325cbcf6fe
This commit is contained in:
Benjamin Schwartz 2021-04-14 14:49:31 -07:00
parent 2a6d256369
commit eeaf5ea672
2 changed files with 38 additions and 0 deletions

View file

@ -11,6 +11,9 @@ on init
chown system system /d/regmap/6-0036/registers
chown system system /sys/bus/nvmem/devices/5-00500/nvmem
# Power Stats HAL
chown system system /sys/devices/platform/10d30000.spi/spi_master/spi10/spi10.0/uwb/power_stats
on early-boot
# Wait for insmod_sh to finish all common modules
wait_for_prop vendor.common.modules.ready 1