goto END;
}
- _INFO("read [%zd] bytes from [%s]", len, file_name);
+ _DBG("read [%zd] bytes from [%s]", len, file_name);
EXIT;
return (char *)contents;
}
int bm_get_wifi_power_params(double *rssi_l0, double *rssi_l1, double *rssi_l2, double *rssi_l3,
- double *rssi_l4, double *scan, double *idle, double *rx, double *tx)
+ double *rssi_l4, double *scan, double *idle, double *rx, double *tx)
{
ENTER;
return ret;
}
-int bm_get_blutooth_power_params(double *idle, double *scan, double *connected, double *rx, double *tx)
+int bm_get_blutooth_power_params(double *idle, double *scan, double *connected,
+ double *rx, double *tx)
{
ENTER;
return ret;
}
-int bm_get_device_network_power_params(double *signal_strength0, double *signal_strength1, double *signal_strength2,
- double *signal_strength3, double *signal_strength4, double *signal_strength5,
- double *signal_strength6, double *rx, double *tx)
+int bm_get_device_network_power_params(double *signal_strength0, double *signal_strength1,
+ double *signal_strength2, double *signal_strength3, double *signal_strength4,
+ double *signal_strength5, double *signal_strength6, double *rx, double *tx)
{
ENTER;
goto END;
*tx = json_object_get_double(jdouble);
- _DBG("device-network power params - signal_strength0[%lf], signal_strength1[%lf], signal_strength2[%lf], \
- signal_strength3[%lf], signal_strength4[%lf], signal_strength5[%lf], signal_strength6[%lf], rx[%lf], \
- tx[%lf]", *signal_strength0, *signal_strength1, *signal_strength2, *signal_strength3, \
- *signal_strength4, *signal_strength5, *signal_strength6, *rx, *tx);
+ _DBG("device-network params - signal_strength [%lf, %lf, %lf, %lf, %lf, %lf, %lf], \
+ rx[%lf], tx[%lf]", *signal_strength0, *signal_strength1, *signal_strength2,
+ *signal_strength3, *signal_strength4, *signal_strength5, *signal_strength6,
+ *rx, *tx);
ret = BATTERY_MONITOR_ERROR_NONE;
END:
*low = json_object_get_double(jdouble);
_DBG("display power params - high[%lf], medium[%lf], low[%lf]",
- *high, *medium, *low);
+ *high, *medium, *low);
ret = BATTERY_MONITOR_ERROR_NONE;
END:
return ret;
}
-int bm_get_job_scheduler_params(int *data_collection_period, int *data_collection_try_period, int *data_collection_accept_count, int *delete_db_period)
+int bm_get_job_scheduler_params(int *data_collection_period, int *data_collection_try_period,
+ int *data_collection_accept_count, int *delete_db_period)
{
ENTER;
goto END;
*delete_db_period = json_object_get_int(jint);
- _DBG("job scheduler params - data_collection_period[%d], data_collection_try_period[%d], data_collection_accept_count[%d], delete_db_period[%d]", *data_collection_period, *data_collection_try_period, *data_collection_accept_count, *delete_db_period);
+ _DBG("job scheduler params - data_collection_period[%d], data_collection_try_period[%d], \
+ data_collection_accept_count[%d], delete_db_period[%d]", *data_collection_period,
+ *data_collection_try_period, *data_collection_accept_count, *delete_db_period);
ret = BATTERY_MONITOR_ERROR_NONE;
END:
return ret;
}
-int bm_get_cpu_usage_checker_params(int *timeout, double *initial_threshold, double *minimum_threshold, double *threshold_reduction)
+int bm_get_cpu_usage_checker_params(int *timeout, double *initial_threshold,
+ double *minimum_threshold, double *threshold_reduction)
{
ENTER;
goto END;
*threshold_reduction = json_object_get_double(jdouble);
- _DBG("data collection params - timeout[%d], initial_threshold[%lf], minimum_threshold[%lf], threshold_reduction[%lf]", *timeout, *initial_threshold, *minimum_threshold, *threshold_reduction);
+ _DBG("data collection params - timeout[%d], initial_threshold[%lf], \
+ minimum_threshold[%lf], threshold_reduction[%lf]", *timeout, *initial_threshold,
+ *minimum_threshold, *threshold_reduction);
ret = BATTERY_MONITOR_ERROR_NONE;
END: