aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/protocol/Tk103ProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/Tk103ProtocolDecoder.java b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
index 36378d088..a22eaa4ba 100644
--- a/src/org/traccar/protocol/Tk103ProtocolDecoder.java
+++ b/src/org/traccar/protocol/Tk103ProtocolDecoder.java
@@ -121,7 +121,7 @@ public class Tk103ProtocolDecoder extends BaseProtocolDecoder {
int power = parser.nextInt();
if (power != 65535) {
- position.set(Position.KEY_POWER, battery);
+ position.set(Position.KEY_POWER, power);
}
return position;