battery and connectivity events were added