diff --git a/lib/logitech_receiver/notifications.py b/lib/logitech_receiver/notifications.py index b82dd466..7c6f04cb 100644 --- a/lib/logitech_receiver/notifications.py +++ b/lib/logitech_receiver/notifications.py @@ -255,6 +255,9 @@ def _process_feature_notification(device, status, n, feature): discharge_next_level = ord(n.data[1:2]) battery_status = ord(n.data[2:3]) status.set_battery_info(discharge_level, _hidpp20.BATTERY_STATUS[battery_status], discharge_next_level) + elif n.address == 0x10: + if _log.isEnabledFor(_INFO): + _log.info('%s: spurious BATTERY status %s', device, n) else: _log.warn('%s: unknown BATTERY %s', device, n) return True