Retrieve the amount of time to fully charge the battery.
#include <bps/battery.h>
BPS_API int battery_info_get_time_to_full(battery_info_t *info)
BlackBerry 10.0.0
The battery_info_t structure to get the time to fully charge from.
The battery_info_get_time_to_full() function gets the time to fully charge the battery from a battery_info_t structure.
The time to fully charge (in minutes), BATTERY_TIME_NA if the battery is not being charged, or BPS_FAILURE on error.