battery_info_get_battery_name()

Retrieve the battery name.

Synopsis:

#include <bps/battery.h>
 
BPS_API const char* battery_info_get_battery_name(battery_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the battery name from.

Library:

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

Description:

The battery_info_get_battery_name() function retrieves the battery name from a battery_info_t structure.

Returns:

The battery name or NULL if the battery name is not available.