• Dmitry Torokhov's avatar
    HID: input: map digitizer battery usage · 581c4484
    Dmitry Torokhov authored
    We already mapped battery strength reports from the generic device
    control page, but we did not update capacity from input reports, nor we
    mapped the battery strength report from the digitizer page, so let's
    implement this now.
    
    Batteries driven by the input reports will now start in "unknown" state,
    and will get updated once we receive first report containing battery
    strength from the device.
    Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    581c4484
hid-input.c 49.3 KB