Free the memory that is used by a battery information structure.
#include <bps/battery.h>
BPS_API void battery_free_info(battery_info_t **info)
BlackBerry 10.0.0
The structure whose memory needs to be freed.
The battery_free_info() function releases the memory that is used by the specified battery information structure, battery_info_t. Only use this function on structures retrieved from the battery_get_info() function.