Retrieve the battery time to empty at constant power.
#include <bps/battery.h>
BPS_API int battery_info_get_battery_time_to_empty_at_constant_power(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the battery time to empty at constant power from.
The battery_info_get_battery_time_to_empty_at_constant_power() function retrieves the predicted time to empty if the battery is discharged at the average power value from a battery_info_t structure. The battery time to empty at constant power is reported in minutes.
The battery time to empty at constant power or BATTERY_INVALID_VALUE if the battery time to empty at constant power is not available.