HID: Ignore battery for ELAN touchscreens 2F2C and 4116
authorLouis Dalibard <ontake@ontake.dev>
Fri, 7 Jun 2024 14:53:43 +0000 (16:53 +0200)
committerJiri Kosina <jkosina@suse.com>
Fri, 7 Jun 2024 15:02:56 +0000 (17:02 +0200)
commita3a5a37efba11b7cf1a86abe7bccfbcdb521764e
tree5dbfe2cfb2118a40c489ac38f63ac1e3b26c3bd5
parent0eafc58f2194dbd01d4be40f99a697681171995b
HID: Ignore battery for ELAN touchscreens 2F2C and 4116

At least ASUS Zenbook 14 (2023) and ASUS Zenbook 14 Pro (2023) are affected.

The touchscreen reports a battery status of 0% and jumps to 1% when a
stylus is used.

The device ID was added and the battery ignore quirk was enabled for it.

[jkosina@suse.com: reformatted changelog a bit]
Signed-off-by: Louis Dalibard <ontake@ontake.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-ids.h
drivers/hid/hid-input.c