battery_info_get_charger_max_input_current()

Retrieve the charger maximum input current.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the charger maximum input current from.

Library:

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

Description:

The battery_info_get_charger_max_input_current() function retrieves the maximum current that can be drawn from the input power source from a battery_info_t structure. The charger maximum input current is reported in milliamperes (mA).

Returns:

The charger maximum input current or BATTERY_INVALID_VALUE if the charger maximum input current is not available.