HID: wacom: Status packet provides 'charging', not 'powered' bit
authorJason Gerecke <killertofu@gmail.com>
Fri, 6 Mar 2015 19:47:43 +0000 (11:47 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 11 Mar 2015 15:46:13 +0000 (11:46 -0400)
commitb0882cb79dbd2bbdfac1416f8474aa6b0adb9334
tree2c1b06e9549ae352a2b4925375383545dfdf7307
parent2d13a43813729850572606a653f06c9e567e4c8d
HID: wacom: Status packet provides 'charging', not 'powered' bit

The status packet for tablets which can use a wireless module contains a
bit that is set if the battery is charging. This bit will be 0 if either
a battery is not present or if the battery has reached full charge. Note
that the charging circuit may continue to charge the battery for a short
time after reaching "100%".

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Acked-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c