battery_info_get_system_charge_current()

Retrieve the system charge current.

Synopsis:

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

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the system charge current from.

Library:

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

Description:

The battery_info_get_system_charge_current() function retrieves the system charge current from a battery_info_t structure. The system charge current is reported in milliamperes (mA).

Returns:

The system charge current or BATTERY_INVALID_VALUE if the system charge current is not available.