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;
}