battery_info_get_battery_max_load_time_to_empty()

Retrieve the battery maximum load time to empty.

Synopsis:

#include <bps/battery.h>
 
BPS_API int battery_info_get_battery_max_load_time_to_empty(battery_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the battery maximum load time to empty from.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

The battery_info_get_battery_max_load_time_to_empty() function retrieves the time to empty at the maximum load current discharge rate from a battery_info_t structure. The battery maximum load time to empty is reported in minutes.

Returns:

The battery maximum load time to empty or BATTERY_INVALID_VALUE if the battery maximum load time to empty is not available.