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