Skip to content


Subversion checkout URL

You can clone with
Download ZIP
An Android service that duty-cycles GPS based on WiFi signature
Java Perl
Branch: master

Latest changes

latest commit 208ca30661
Hossein Falaki authored
Failed to load latest commit information.
bin Latest changes
libs Latest changes
src/edu/ucla/cens Fixed wifi scanning bug that affecting driving classification
.gitignor Latest changes
AndroidManifest.xml Latest changes
Makefile Latest changes
README Edited the README file
build.xml first commit Latest changes Latest changes


WiFiGPSLocation is an Android service to simplify duty-cycling of the
GPS receiver when a user is not mobile. The WiFiGPSLocation
application runs as an Android Service on the phone. It defines a
simple interface using the Android Interface Definition Language
(AIDL). All other applications get the last location of the user
through this interface from WiFiGPSLocation. Unlike the default
Android location API, the location API provided by WiFiGPSLocation is
synchronous (i.e., a call to getLocation() is guaranteed to return
immediately with the last location of the user.

The WiFiGPSLocation constantly queries the GPS receiver to track the
location of the user. Upon a getLocation() request, it returns the
latest known location of the user. However, it tries to duty-cycle the
GPS receiver when it detects the user is not mobile. WiFiGPSLocation
uses the WiFi RF fingerprint to detect when a user is not moving to
turn off GPS, and when the user starts moving to turn it back on. This
document outlines the design and implementation of WiFiGPSLocation,
and provides instructions on how to use it in other applications.
Something went wrong with that request. Please try again.