powerstats: update display refresh rate
Bug: 295102693 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I7ca30c9d50179aafc8867d91eee36ce117be0725 Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
parent
5538f0d620
commit
8d2af6b045
1 changed files with 4 additions and 4 deletions
|
@ -37,9 +37,9 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
|
|||
"Off",
|
||||
"LP: 1080x2400@30",
|
||||
"On: 1080x2400@60",
|
||||
"On: 1080x2400@90",
|
||||
"On: 1080x2400@120",
|
||||
"HBM: 1080x2400@60",
|
||||
"HBM: 1080x2400@90"};
|
||||
"HBM: 1080x2400@120"};
|
||||
|
||||
p->addStateResidencyDataProvider(std::make_unique<DisplayStateResidencyDataProvider>(
|
||||
"Display",
|
||||
|
@ -51,9 +51,9 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
|
|||
p, EnergyConsumerType::DISPLAY, "Display", {"VSYS_PWR_DISPLAY"}, "Display",
|
||||
{{"LP: 1080x2400@30", 1},
|
||||
{"On: 1080x2400@60", 2},
|
||||
{"On: 1080x2400@90", 3},
|
||||
{"On: 1080x2400@120", 3},
|
||||
{"HBM: 1080x2400@60", 4},
|
||||
{"HBM: 1080x2400@90", 5}}));
|
||||
{"HBM: 1080x2400@120", 5}}));
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue