From b54400d1466baa366477fee7ee04abb29eb11d12 Mon Sep 17 00:00:00 2001 From: Darren Hsu Date: Tue, 11 Apr 2023 12:00:19 +0800 Subject: [PATCH] powerstats: update display state residency for 1Hz Bug: 276920113 Test: dumpsys android.hardware.power.stats.IPowerStats/default Change-Id: I4fe511fe40a24cf1c5ebee11e9a4b61b39420309 Signed-off-by: Darren Hsu --- powerstats/husky/service.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/powerstats/husky/service.cpp b/powerstats/husky/service.cpp index 894dd31..7bcafbc 100644 --- a/powerstats/husky/service.cpp +++ b/powerstats/husky/service.cpp @@ -35,18 +35,28 @@ void addDisplay(std::shared_ptr p) { // Add display residency stats std::vector states = { "Off", + "LP: 1008x2244@1", "LP: 1008x2244@30", + "On: 1008x2244@1", "On: 1008x2244@10", + "On: 1008x2244@30", "On: 1008x2244@60", "On: 1008x2244@120", + "HBM: 1008x2244@1", "HBM: 1008x2244@10", + "HBM: 1008x2244@30", "HBM: 1008x2244@60", "HBM: 1008x2244@120", + "LP: 1344x2992@1", "LP: 1344x2992@30", + "On: 1344x2992@1", "On: 1344x2992@10", + "On: 1344x2992@30", "On: 1344x2992@60", "On: 1344x2992@120", + "HBM: 1344x2992@1", "HBM: 1344x2992@10", + "HBM: 1344x2992@30", "HBM: 1344x2992@60", "HBM: 1344x2992@120"};