projects
/
platform
/
core
/
connectivity
/
bluetooth-frwk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unnecessary log
[platform/core/connectivity/bluetooth-frwk.git]
/
bt-api
/
bt-adapter.c
diff --git
a/bt-api/bt-adapter.c
b/bt-api/bt-adapter.c
index
6a0ccb2
..
36edc67
100644
(file)
--- 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_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");
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_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");
if (vconf_get_bool(VCONFKEY_BATTERY_MONITOR_STATUS, &state) != 0)
BT_ERR("vconf_get_bool failed");
+
return state;
}
return state;
}