Change-Id: Ia3c927d89f6322e4a9200f6a57de04ff9940c308
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
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");
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;
}