Register and unregister battery information receiver in OnResume and OnPause functions