aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2017-06-21 19:31:54 +1200
committerGitHub <noreply@github.com>2017-06-21 19:31:54 +1200
commit67c2a69c1ea041f5f42f863396cad0927be9d82b (patch)
tree483231812d99c877c8ea827e58dcc8b21079b9ab /src/org
parentc79fa263cca2c641775cebb24858f38aa9400a50 (diff)
parentc2a7b5eeee95e9fe09e00e91fba54522975ca1ee (diff)
downloadtrackermap-server-67c2a69c1ea041f5f42f863396cad0927be9d82b.tar.gz
trackermap-server-67c2a69c1ea041f5f42f863396cad0927be9d82b.tar.bz2
trackermap-server-67c2a69c1ea041f5f42f863396cad0927be9d82b.zip
Merge pull request #3275 from Abyss777/fix_3274
Osmand: Store 'batt' parameter as 'batteryLevel'
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/OsmAndProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
index 7457fbd0c..15f6f40b8 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
@@ -126,7 +126,7 @@ public class OsmAndProtocolDecoder extends BaseProtocolDecoder {
position.set(Position.KEY_HDOP, Double.parseDouble(value));
break;
case "batt":
- position.set(Position.KEY_BATTERY, Double.parseDouble(value));
+ position.set(Position.KEY_BATTERY_LEVEL, Double.parseDouble(value));
break;
default:
try {