Retrieve the battery ID.
#include <bps/battery.h>
BPS_API int battery_info_get_battery_id(battery_info_t *info)
BlackBerry 10.0.0
The battery_info_t structure to get the battery ID from.
The battery_info_get_battery_id() function retrieves the battery ID from a battery_info_t structure.
The battery ID or BPS_FAILURE if the battery was not ready.