Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c47935c authored by Daniel Nicoletti's avatar Daniel Nicoletti Committed by Jiri Kosina
Browse files

HID: add battery quirk for Apple Wireless ANSI



Add USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI, to the quirk list since it report
wrong feature type and wrong percentage range.

Signed-off-by: default avatarDaniel Nicoletti <dantti12@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 60d2c252
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -301,6 +301,9 @@ static const struct hid_device_id hid_battery_quirks[] = {
	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
			       USB_DEVICE_ID_APPLE_ALU_WIRELESS_2011_ANSI),
	  HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE },
	{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE,
		USB_DEVICE_ID_APPLE_ALU_WIRELESS_ANSI),
	  HID_BATTERY_QUIRK_PERCENT | HID_BATTERY_QUIRK_FEATURE },
	{}
};