When support for the HID_DG_BATTERYSTRENGTH usage was added for AES devices, it appears that the value was read, but never actually forwarded to the power_supply subystem for userspace's benefit. Let's correct that.
Signed-off-by: Jason Gerecke <[email protected]> Reviewed-by: Ping Cheng <[email protected]> Signed-off-by: Jiri Kosina <[email protected]> [[email protected]: Imported into input-wacom repository (a775870287)] Signed-off-by: Jason Gerecke <[email protected]> [[email protected]: Backported from input-wacom repository (a7e9856)] Signed-off-by: Jason Gerecke <[email protected]> --- 3.17/wacom_wac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3.17/wacom_wac.c b/3.17/wacom_wac.c index d907497..56de142 100644 --- a/3.17/wacom_wac.c +++ b/3.17/wacom_wac.c @@ -2187,6 +2187,8 @@ static void wacom_wac_pen_report(struct hid_device *hdev, input_sync(input); } + wacom_wac_pad_battery_report(hdev, report); + if (!prox) { wacom_wac->tool[0] = 0; wacom_wac->id[0] = 0; -- 2.12.2 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxwacom-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel
