commit | b7af2bb84cea328c766c615aac45cdd498c50bc6 | [log] [tgz] |
---|---|---|
author | Chris Bagwell <chris@cnpbagwell.com> | Tue Jun 12 00:25:23 2012 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Jun 12 00:40:07 2012 -0700 |
tree | d9c4632eb89bc09ec5ed61fac0164698c32746a0 | |
parent | ac173837cd4b268a538235a1699b91457551a9a9 [diff] |
Input: wacom - battery reporting improvements Do not register battery device until connected to a tablet. This prevents an empty battery icon from being shown when tablet is connected using USB cable. Also, call power_supply_powers() for apps that can make use of that info. And stop ignoring input registration failures. Signed-off-by: Chris Bagwell <chris@cnpbagwell.com> Reviewed-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>