Retrieve the battery temperature.
#include <bps/battery.h>
BPS_API float battery_info_get_battery_temperature(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the battery temperature from.
The battery_info_get_battery_temperature() function retrieves the battery temperature from a battery_info_t structure. The battery temperature is reported in degrees Celsius.
The battery temperature or not-a-number (NaN) if the battery temperature is not available.