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