Retrieve the system voltage.
#include <bps/battery.h>
BPS_API int battery_info_get_system_voltage(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the system voltage from.
The battery_info_get_system_voltage() function retrieves the system voltage from a battery_info_t structure. The system voltage is reported in millivolts (mV).
The system voltage or BATTERY_INVALID_VALUE if the system voltage is not available.