aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/protocol/TotemProtocolDecoder.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/protocol/TotemProtocolDecoder.java')
-rw-r--r--src/org/traccar/protocol/TotemProtocolDecoder.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/traccar/protocol/TotemProtocolDecoder.java b/src/org/traccar/protocol/TotemProtocolDecoder.java
index 58e975730..5b9aeff84 100644
--- a/src/org/traccar/protocol/TotemProtocolDecoder.java
+++ b/src/org/traccar/protocol/TotemProtocolDecoder.java
@@ -241,7 +241,7 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
// Power
extendedInfo.set("battery", parser.group(index++));
- position.setPower(Double.valueOf(parser.group(index++)));
+ extendedInfo.set("power", Double.valueOf(parser.group(index++)));
// ADC
extendedInfo.set("adc", parser.group(index++));
@@ -273,7 +273,7 @@ public class TotemProtocolDecoder extends BaseProtocolDecoder {
// Power
extendedInfo.set("battery", Double.valueOf(parser.group(index++)) / 10);
- position.setPower(Double.valueOf(parser.group(index++)));
+ extendedInfo.set("power", Double.valueOf(parser.group(index++)));
// ADC
extendedInfo.set("adc1", parser.group(index++));