battery_info_is_system_ready()

Determine whether the system is ready.

Synopsis:

#include <bps/battery.h>
 
BPS_API bool battery_info_is_system_ready(battery_info_t *info)

Since:

BlackBerry 10.2.0

Arguments:

info

The battery_info_t structure to get the system ready status from.

Library:

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

Description:

The battery_info_is_system_ready() function determines whether the system is ready from a battery_info_t structure. If the system is not ready, then all the other system-related information in the structure is invalid.

Returns:

true if the system is ready, false otherwise.