battery_info_get_charger_max_charge_current()

Retrieve the charger maximum charge current.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the charger maximum charge 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_charge_current() function retrieves the maximum current capacity of the charging circuitry from a battery_info_t structure. The charger maximum charge current is reported in milliamperes (mA).

Returns:

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