diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/sony/headphones/protocol/impl/v2/SonyProtocolImplV2.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/sony/headphones/protocol/impl/v2/SonyProtocolImplV2.java index b48ab6a87..e5e6b5aea 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/sony/headphones/protocol/impl/v2/SonyProtocolImplV2.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/sony/headphones/protocol/impl/v2/SonyProtocolImplV2.java @@ -668,7 +668,7 @@ public class SonyProtocolImplV2 extends SonyProtocolImplV1 { final AutomaticPowerOff mode = AutomaticPowerOff.fromCode(payload[2], payload[3]); if (mode == null) { - LOG.warn("Unknown automatic power off codes {}", String.format("%02x %02x", payload[3], payload[4])); + LOG.warn("Unknown automatic power off codes {}", String.format("%02x %02x", payload[2], payload[3])); return Collections.emptyList(); }