Retrieve the Battery API version.
#include <bps/battery.h>
BPS_API int battery_info_get_version(battery_info_t *info)
BlackBerry 10.0.0
The battery_info_t structure to retrieve the API version from.
The battery_info_get_version() function retrieves the version from a battery_info_t structure.
The version or BPS_FAILURE on error.