battery_info_get_system_input_current_monitor()

Retrieve the system input current monitor.

Synopsis:

#include <bps/battery.h>
 
BPS_API int battery_info_get_system_input_current_monitor(battery_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the system input current monitor from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The battery_info_get_system_input_current_monitor() function retrieves the actual current drawn from the charger source from a battery_info_t structure. The system input current monitor is reported in milliamperes (mA).

Returns:

The system input current monitor or BATTERY_INVALID_VALUE if the system input current monitor is not available.