摘要:
The effective use of weak GPS signals that are present in various environments enables an electronic device to pinpoint its location in such environments. The electronic device uses an antenna to perform sequential scanning in multiple directions for global positioning system (GPS) signals. The electronic device further analyzes GPS signals obtained from scanning the multiple directions to determine a number of acquired GPS satellites that provided the GPS signals. The GPS signals include code phases of the acquired GPS satellites. The electronic device then computes a location of the electronic device based on the code phases of the acquired GPS satellites when the number of acquired GPS satellites meets a threshold.