Get network state on device ready