battery_free_info()

Free the memory that is used by a battery information structure.

Synopsis:

#include <bps/battery.h>
 
BPS_API void battery_free_info(battery_info_t **info)

Since:

BlackBerry 10.0.0

Arguments:

info

The structure whose memory needs to be freed.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

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.

Returns: