From c2a7b5eeee95e9fe09e00e91fba54522975ca1ee Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Wed, 21 Jun 2017 12:28:42 +0500 Subject: Osmand: Store 'batt' parameter as 'batteryLevel' --- src/org/traccar/protocol/OsmAndProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar') 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 { -- cgit v1.2.3