Snap for 9101640 from dcd703a903 to udc-release

Change-Id: I5232a6cfac70878e99cc4478e496cd66d429e4f7
This commit is contained in:
Android Build Coastguard Worker 2022-09-24 03:03:40 +00:00
commit a5fd917f00
2 changed files with 6 additions and 7 deletions

1
OWNERS Normal file
View file

@ -0,0 +1 @@
per-file powerhint.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com

View file

@ -43,13 +43,11 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
states));
// Add display energy consumer
/*
* TODO(b/167216667): Add correct display power model here. Must read from display rail
* and include proper coefficients for display states.
*/
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterAndEntityConsumer(p,
EnergyConsumerType::DISPLAY, "display", {"PPVAR_VSYS_PWR_DISP"}, "Display",
{{"On: 1600x2560@60", 1}}));
p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterConsumer(
p,
EnergyConsumerType::DISPLAY,
"Display",
{"VSYS_PWR_DISPLAY"}));
}
int main() {