Retrieve the charger maximum input current.
#include <bps/battery.h>
BPS_API int battery_info_get_charger_max_input_current(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the charger maximum input current from.
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).
The charger maximum input current or BATTERY_INVALID_VALUE if the charger maximum input current is not available.