From a43f1ddba60c7ede3dd6e55295eabd575682c255 Mon Sep 17 00:00:00 2001 From: Caisking <3449750381@qq.com> Date: Mon, 28 Oct 2024 11:32:45 +0800 Subject: [PATCH] =?utf8?q?=E8=A1=A8=E7=9B=98=EF=BC=9A=E5=85=B3=E9=97=AD?= =?utf8?q?=E6=95=B0=E6=8D=AE=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../fd230app/nativeui/main/src/dial/DialBoxProgressView.cpp | 2 +- .../fd230app/nativeui/main/src/dial/DialModelPowerStandby.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialBoxProgressView.cpp b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialBoxProgressView.cpp index 9c06fca88..746c51474 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialBoxProgressView.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialBoxProgressView.cpp @@ -54,7 +54,7 @@ void DialBoxProgressView::HandleFloatData(float data) { // 获取数据类型 datatype_ = ExtractDataType(data); //类型为前4位 float value = ExtractValue(data); //数值为后28位 - WEARABLE_LOGE("DialBoxProgressView", "HandleFloatData: %d %f", datatype_, + WEARABLE_LOGD("DialBoxProgressView", "HandleFloatData: %d %f", datatype_, value); if (datatype_ == BATTERY_LEVEL) { diff --git a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelPowerStandby.cpp b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelPowerStandby.cpp index 2624173f2..346ff9cf1 100644 --- a/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelPowerStandby.cpp +++ b/code/sdk/application/wearable/fd230app/nativeui/main/src/dial/DialModelPowerStandby.cpp @@ -54,7 +54,7 @@ void DialModelPowerStanby::UpdatePowerStanby() { float voltage = 0.0F; PowerStanby_ = battery_get_voltage(&voltage); if (PowerStanby_ == 0) { - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "Failed to get battery voltage"); + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "Failed to get battery voltage"); return; } PowerStanbyUpdated_ = true; @@ -68,7 +68,7 @@ void DialModelPowerStanby::NotifyPowerStanbyUpdate() { if (onChangeListener_ != nullptr) { onChangeListener_->OnDialFloatDataUpdate( DialDataType::DATA_TYPE_POWER_STANDBY, PowerStanby_); - WEARABLE_LOGE(WEARABLE_LOG_MODULE_APP, "[UpdatePowerStanby!]\r\n"); + WEARABLE_LOGD(WEARABLE_LOG_MODULE_APP, "[UpdatePowerStanby!]\r\n"); } } } // namespace OHOS -- 2.17.1