Check for network and GPS state when startup