aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
index b1b065780..8afe04d0f 100644
--- a/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
+++ b/src/main/java/org/traccar/protocol/HuabaoProtocolDecoder.java
@@ -780,9 +780,6 @@ public class HuabaoProtocolDecoder extends BaseProtocolDecoder {
if (length >= 5) {
short batteryStatus = buf.readUnsignedByte();
switch (batteryStatus) {
- case 1:
- position.set(Position.KEY_CHARGE, false);
- break;
case 2:
case 3:
position.set(Position.KEY_CHARGE, true);