diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-26 08:47:52 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2017-11-26 08:47:52 +1300 |
commit | a8454d0449cbd36cb02676fd750b64e7ca19a183 (patch) | |
tree | 3bbec35446e75e3152ac7d2c7872235a7668dbed /src/org/traccar/protocol/MiniFinderProtocolDecoder.java | |
parent | 79da9084bfa63a0101945859d9aaa1750b4c1a66 (diff) | |
download | trackermap-server-a8454d0449cbd36cb02676fd750b64e7ca19a183.tar.gz trackermap-server-a8454d0449cbd36cb02676fd750b64e7ca19a183.tar.bz2 trackermap-server-a8454d0449cbd36cb02676fd750b64e7ca19a183.zip |
Fix minifinder battery units
Diffstat (limited to 'src/org/traccar/protocol/MiniFinderProtocolDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/MiniFinderProtocolDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java b/src/org/traccar/protocol/MiniFinderProtocolDecoder.java index 05994b697..8e6e56e80 100644 --- a/src/org/traccar/protocol/MiniFinderProtocolDecoder.java +++ b/src/org/traccar/protocol/MiniFinderProtocolDecoder.java @@ -123,7 +123,7 @@ public class MiniFinderProtocolDecoder extends BaseProtocolDecoder { position.setAltitude(parser.nextDouble(0)); - position.set(Position.KEY_BATTERY, parser.nextInt(0)); + position.set(Position.KEY_BATTERY_LEVEL, parser.nextInt(0)); } @Override |