battery_info_get_device_name()

Retrieve the device name.

Synopsis:

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

Since:

BlackBerry 10.0.0

Arguments:

info

The battery_info_t structure to get the device name from.

Library:

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

Description:

The battery_info_get_device_name() function retrieves the device name from a battery_info_t structure.

Returns:

The device name when available or NULL on error.