Determine whether the charger is ready.
#include <bps/battery.h>
BPS_API bool battery_info_is_charger_ready(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the charger ready status from.
The battery_info_is_charger_ready() function determines whether the charger is ready from a battery_info_t structure. If the charger is not ready, then all the other charger-related information in the structure is invalid.
true if the charger is ready, false otherwise.