aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/org/traccar/protocol/MegastekProtocolDecoder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MegastekProtocolDecoder.java b/src/org/traccar/protocol/MegastekProtocolDecoder.java
index c212e90fa..2eebc8d2f 100644
--- a/src/org/traccar/protocol/MegastekProtocolDecoder.java
+++ b/src/org/traccar/protocol/MegastekProtocolDecoder.java
@@ -49,7 +49,7 @@ public class MegastekProtocolDecoder extends BaseProtocolDecoder {
.number("imei:(d+),") // imei
.number("(d+/?d*)?,") // satellites
.number("(d+.d+)?,") // altitude
- .number("Battery=(d+)%,,") // battery
+ .number("Battery=(d+)%,,?") // battery
.number("(d)?,") // charger
.number("(d+)?,") // mcc
.number("(d+)?,") // mnc