powerstats: add mmWave rail into modem energy consumer
Bug: 211073344 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I9ecd3702605be287e76b8ed584eaba137a482b05 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
20afe57c18
commit
7d9490247f
1 changed files with 2 additions and 1 deletions
|
@ -376,7 +376,8 @@ void addMobileRadio(std::shared_ptr<PowerStats> p)
|
|||
"/sys/devices/platform/cpif/modem/power_stats", cfgs));
|
||||
|
||||
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterConsumer(p,
|
||||
EnergyConsumerType::MOBILE_RADIO, "MODEM", {"VSYS_PWR_MODEM", "VSYS_PWR_RFFE"}));
|
||||
EnergyConsumerType::MOBILE_RADIO, "MODEM",
|
||||
{"VSYS_PWR_MODEM", "VSYS_PWR_RFFE", "VSYS_PWR_MMWAVE"}));
|
||||
}
|
||||
|
||||
void addGNSS(std::shared_ptr<PowerStats> p)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue