aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/OsmAndProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/OsmAndProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/OsmAndProtocolDecoder.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/org/traccar/protocol/OsmAndProtocolDecoder.java b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
index 560f3224f..e150275bd 100644
--- a/src/org/traccar/protocol/OsmAndProtocolDecoder.java
+++ b/src/org/traccar/protocol/OsmAndProtocolDecoder.java
@@ -111,6 +111,9 @@ public class OsmAndProtocolDecoder extends BaseProtocolDecoder {
if (params.containsKey("hacc")) {
extendedInfo.set("hacc", params.get("hacc").get(0));
}
+ if (params.containsKey("batt")) {
+ extendedInfo.set("battery", params.get("batt").get(0));
+ }
position.setExtendedInfo(extendedInfo.toString());