Stop receiving battery events.
#include <bps/battery.h>
BPS_API int battery_stop_events(int flags)
BlackBerry 10.0.0
The types of events to stop. A value of zero indicates that all events are stopped. The meaning of non-zero values is reserved for future use.
The battery_stop_events() function stops battery events from being delivered to the application using BPS.
BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.