Snap for 11314147 from e9842e0787
to 24Q2-release
Change-Id: I83d360830c52de1a2e10e9b45ca4243025ab51e8
This commit is contained in:
commit
753896dffa
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer;
|
|||
void addDisplay(std::shared_ptr<PowerStats> p) {
|
||||
// Add display residency stats
|
||||
struct stat buffer;
|
||||
if (stat("/sys/class/backlight/panel0-backlight/time_in_state", &buffer)) {
|
||||
if (stat("/sys/class/drm/card0/device/primary-panel/time_in_state", &buffer)) {
|
||||
// time_in_state doesn't exist
|
||||
std::vector<std::string> states = {
|
||||
"Off",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue