Retrieve the system charging state.
#include <bps/battery.h>
BPS_API int battery_info_get_system_charging_state(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the system charging state from.
The battery_info_get_charger_info() function retrieves the system charging state from a battery_info_t structure.
The system charging state as one of the values of the battery_charging_state_t enumeration or BPS_FAILURE on error.