commit | 8f93b0b2b0a336746adc8730921b219f0ba40c29 | [log] [tgz] |
---|---|---|
author | Jason Gerecke <killertofu@gmail.com> | Fri Mar 06 11:47:41 2015 -0800 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Mar 11 11:46:12 2015 -0400 |
tree | 290aaf611dce08c323e74da32e61770ba2465625 | |
parent | fce9957d8f618346b76c63066e146fc76ed975ce [diff] |
HID: wacom: Provide battery charge state to system over USB if available If a wireless adapter (which contains the charging circuitry) is detected as being attached to the tablet then create a new battery interface and update its status as data is reported. Also destroy the battery if the adapter goes away. Signed-off-by: Jason Gerecke <killertofu@gmail.com> Acked-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>