]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: wacom - enhance Wireless Receiver battery reporting
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Sat, 26 Jul 2014 00:29:48 +0000 (17:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 26 Jul 2014 01:55:53 +0000 (18:55 -0700)
commitac8d10101b0e3a0a1478f8bb51bbbb0a56fe0956
treeb0c3b337484358d079bcf13e9d9e754cc71bd5bd
parentc757cbafd6afe8e47d12320aa05edcd1b1d97186
Input: wacom - enhance Wireless Receiver battery reporting

- Reports the current status of the battery (discharging, charging, full).
- Also notify the upower daemon when there is a change in the battery
  value.
- keep the battery value as a percentage, not the raw value
- add WACOM_QUIRK_BATTERY to easily add a battery to a device (required
  for Bluetooth devices)

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Acked-by: Przemo Firszt <przemo@firszt.eu>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/hid/wacom.h
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h