int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/screen.auto_rotation");
+
ret = runtime_info_vconf_get_value_bool(VCONF_ROTATION_LOCK_ENABLED, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = (bool)vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/battery");
+
ret = runtime_info_vconf_get_value_int(VCONF_BATTERY_CHARGING, &vconf_value);
if (ret == RUNTIME_INFO_ERROR_NONE)
value->b = vconf_value;
int vconf_value;
int ret;
+ RETURN_ERROR_IF_NOT_SUPPORTED("http://tizen.org/feature/battery");
+
ret = runtime_info_vconf_get_value_int(VCONF_CHARGER_CONNECTED, &vconf_value);
if (ret != RUNTIME_INFO_ERROR_NONE)
return ret;