aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2011-01-26 00:11:49 +0100
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2011-01-26 00:11:49 +0100
commit18e0d316d3e220a35a81adbb7898e16fed074b34 (patch)
tree5e03549d52083eb681d421dad270f8d888628073 /src
parent6545c9bd5b199e86c156a01f6388aec8787a0644 (diff)
downloadBlueGPS-18e0d316d3e220a35a81adbb7898e16fed074b34.zip
BlueGPS-18e0d316d3e220a35a81adbb7898e16fed074b34.tar.gz
BlueGPS-18e0d316d3e220a35a81adbb7898e16fed074b34.tar.bz2
Decrease the alleged power consumption of the GPS
Change the alleged power consumption of the bluetooth GPS (from High to Medium)
Diffstat (limited to 'src')
-rw-r--r--src/org/broeuschmeul/android/gps/nmea/util/NmeaParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/broeuschmeul/android/gps/nmea/util/NmeaParser.java b/src/org/broeuschmeul/android/gps/nmea/util/NmeaParser.java
index 3d89efc..952b02d 100644
--- a/src/org/broeuschmeul/android/gps/nmea/util/NmeaParser.java
+++ b/src/org/broeuschmeul/android/gps/nmea/util/NmeaParser.java
@@ -78,7 +78,7 @@ public class NmeaParser {
if (prov != null){
Log.v(LOG_TAG, "Mock provider: "+prov.getName()+" "+prov.getPowerRequirement()+" "+prov.getAccuracy()+" "+lm.isProviderEnabled(mockLocationProvider));
}
- lm.addTestProvider(mockLocationProvider, false, true,false, false, true, true, true, Criteria.POWER_HIGH, Criteria.ACCURACY_FINE);
+ lm.addTestProvider(mockLocationProvider, false, true,false, false, true, true, true, Criteria.POWER_MEDIUM, Criteria.ACCURACY_FINE);
if ((prov == null)
// || (! LocationManager.GPS_PROVIDER.equals(mockLocationProvider))
){