From 35e608b5d86204ef260288f8572a73b9f5ff447f Mon Sep 17 00:00:00 2001 From: DoHyun Pyun Date: Fri, 13 Mar 2020 13:52:38 +0900 Subject: [PATCH 1/1] Remove unnecessary log Change-Id: Ia3c927d89f6322e4a9200f6a57de04ff9940c308 Signed-off-by: DoHyun Pyun --- bt-api/bt-adapter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bt-api/bt-adapter.c b/bt-api/bt-adapter.c index 6a0ccb2..36edc67 100644 --- a/bt-api/bt-adapter.c +++ b/bt-api/bt-adapter.c @@ -112,7 +112,6 @@ BT_EXPORT_API int bluetooth_enable_adapter(void) BT_EXPORT_API int bluetooth_set_battery_monitor_state(bool state) { - BT_INFO("Setting vconf key"); if (vconf_set_bool(VCONFKEY_BATTERY_MONITOR_STATUS, state) != 0) { BT_ERR("vconf_set_bool failed"); @@ -124,9 +123,10 @@ BT_EXPORT_API int bluetooth_set_battery_monitor_state(bool state) BT_EXPORT_API int bluetooth_get_battery_monitor_state() { int state = 0; - BT_INFO("Getting vconf key value"); + if (vconf_get_bool(VCONFKEY_BATTERY_MONITOR_STATUS, &state) != 0) BT_ERR("vconf_get_bool failed"); + return state; } -- 2.7.4