powerstats: Add 1Hz stats for inner display

Bug: 273636406
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Idef91358f5c531febbbdd48e7282c50f036373c0
Signed-off-by: Darren Hsu <darrenhsu@google.com>
This commit is contained in:
Darren Hsu 2023-03-23 15:52:30 +08:00
parent a828ad9d2d
commit e63f8f4cd7

View file

@ -39,7 +39,9 @@ void addDisplay(std::shared_ptr<PowerStats> p) {
// Add display residency stats for inner display // Add display residency stats for inner display
std::vector<std::string> inner_states = { std::vector<std::string> inner_states = {
"Off", "Off",
"LP: 1840x2208@1",
"LP: 1840x2208@30", "LP: 1840x2208@30",
"On: 1840x2208@1",
"On: 1840x2208@10", "On: 1840x2208@10",
"On: 1840x2208@60", "On: 1840x2208@60",
"On: 1840x2208@120", "On: 1840x2208@120",