From 9e758d437c048b954d224935664b76d6f6f8416c Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Fri, 19 May 2017 14:41:23 +0500 Subject: Adjust battery and batteryLevel type --- src/org/traccar/protocol/TaipProtocolDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/protocol/TaipProtocolDecoder.java') diff --git a/src/org/traccar/protocol/TaipProtocolDecoder.java b/src/org/traccar/protocol/TaipProtocolDecoder.java index 280db0b31..d67292fd3 100644 --- a/src/org/traccar/protocol/TaipProtocolDecoder.java +++ b/src/org/traccar/protocol/TaipProtocolDecoder.java @@ -175,7 +175,7 @@ public class TaipProtocolDecoder extends BaseProtocolDecoder { break; case "bl": - position.set(Position.KEY_BATTERY, value); + position.set(Position.KEY_BATTERY, Integer.parseInt(value)); break; case "vo": -- cgit v1.2.3