Determine whether the battery alert is triggered.
#include <bps/battery.h>
BPS_API bool battery_info_get_battery_alert(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the battery alert status from.
The battery_info_get_battery_alert() function determines whether the battery alert has been triggered from a battery_info_t structure. The battery alert is triggered if the state of charge goes below a threshold.
true if the battery alert is triggered, false otherwise.