diff options
author | Jason Gerecke <killertofu@gmail.com> | 2023-04-13 11:17:43 -0700 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2023-04-14 16:09:02 +0200 |
commit | bea407a427baa019758f29f4d31b26f008bb8cc6 (patch) | |
tree | a3824cbe3a08144692c20a1b794a9fe9ddd2973f /net | |
parent | 7fc68653fc2e1a3457bb886e10164119ac48734f (diff) | |
download | linux-stable-bea407a427baa019758f29f4d31b26f008bb8cc6.tar.gz linux-stable-bea407a427baa019758f29f4d31b26f008bb8cc6.tar.bz2 linux-stable-bea407a427baa019758f29f4d31b26f008bb8cc6.zip |
HID: wacom: generic: Set battery quirk only when we see battery data
Some devices will include battery status usages in the HID descriptor
but we won't see that battery data for one reason or another. For example,
AES sensors won't send battery data unless an AES pen is in proximity.
If a user does not have an AES pen but instead only interacts with the
AES touchscreen with their fingers then there is no need for us to create
a battery object. Similarly, if a family of peripherals shares the same
HID descriptor between wired-only and wireless-capable SKUs, users of the
former may never see a battery event and will not want a power_supply
object created.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=217062
Link: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/2354
Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Tested-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions