Retrieve the battery cycle count.
#include <bps/battery.h>
BPS_API int battery_info_get_battery_cycle_count(battery_info_t *info)
BlackBerry 10.2.0
The battery_info_t structure to get the battery cycle count from.
The battery_info_get_battery_cycle_count() function retrieves the cycle count of the battery from a battery_info_t structure.
The battery cycle count or BATTERY_INVALID_VALUE if the battery cycle count is not available.