battery_info_get_battery_max_load_current()

Retrieve the battery maximum load current.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the battery maximum load current from.

Library:

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

Description:

The battery_info_get_battery_max_load_current() function retrieves the current of the maximum load conditions from a battery_info_t structure. The battery maximum load current is reported in milliamperes (mA).

Returns:

The battery maximum load current or BATTERY_INVALID_VALUE if the battery maximum load current is not available.