diff --git a/services/native/src/battery_stats_core.cpp b/services/native/src/battery_stats_core.cpp index 6c08a62f7fc24aae69192a9110307d5cb734e954..e0b7ab18e260235d963679fdad3490c99b30a14f 100755 --- a/services/native/src/battery_stats_core.cpp +++ b/services/native/src/battery_stats_core.cpp @@ -145,7 +145,7 @@ void BatteryStatsCore::ComputePower() { std::lock_guard lock(mutex_); STATS_HILOGD(COMP_SVC, "Calculate battery stats"); - const uint32_t DFX_DELAY_S = 10; + const uint32_t DFX_DELAY_S = 60; int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsCoreComputePower", DFX_DELAY_S, nullptr, nullptr, HiviewDFX::XCOLLIE_FLAG_LOG); diff --git a/services/zidl/src/battery_stats_stub.cpp b/services/zidl/src/battery_stats_stub.cpp index e32e912809afe2d171f80be6e4bd3f6d52cbdd48..71d272503099764746efa0406ca8b0189a59fac8 100755 --- a/services/zidl/src/battery_stats_stub.cpp +++ b/services/zidl/src/battery_stats_stub.cpp @@ -35,7 +35,7 @@ int BatteryStatsStub::OnRemoteRequest(uint32_t code, MessageParcel &data, Messag { STATS_HILOGD(COMP_SVC, "Remote request, cmd = %{public}d, flags = %{public}d", code, option.GetFlags()); - const uint32_t DFX_DELAY_S = 10; + const uint32_t DFX_DELAY_S = 60; int id = HiviewDFX::XCollie::GetInstance().SetTimer("BatteryStatsStub", DFX_DELAY_S, nullptr, nullptr, HiviewDFX::XCOLLIE_FLAG_LOG);