From 090ecf5ee520ebd054e87ea0e44ebedefd04dcda Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Tue, 28 Feb 2023 21:22:31 +0800 Subject: [PATCH] Healthd: keep the slow/fast interval as -1 for the system with power supply Tracked-On: OAM-106610 Signed-off-by: Qi Zhang --- health/2.1/utils/libhealthloop/HealthLoop.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/health/2.1/utils/libhealthloop/HealthLoop.cpp b/health/2.1/utils/libhealthloop/HealthLoop.cpp index c4cda2b..9d5248d 100644 --- a/health/2.1/utils/libhealthloop/HealthLoop.cpp +++ b/health/2.1/utils/libhealthloop/HealthLoop.cpp @@ -240,8 +240,6 @@ int HealthLoop::InitInternal() { // Note that healthd_config_ is initialized before wakealarm_fd_; see // AdjustUeventWakealarmPeriods(). Init(&healthd_config_); - healthd_config_.periodic_chores_interval_fast = 60; - healthd_config_.periodic_chores_interval_slow = 60*10; WakeAlarmInit(); UeventInit();