HID: nvidia-shield: Add battery support for Thunderstrike
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Mon, 7 Aug 2023 16:36:19 +0000 (09:36 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 14 Aug 2023 09:41:17 +0000 (11:41 +0200)
commit3ab196f882377ed5c2a946cf9f7ede8be4727f44
tree6e64476b0a8575d598f32f510c8bce844cf5a408
parentcb818a047f2b95f3d9e08568ff7f8f513832ff2f
HID: nvidia-shield: Add battery support for Thunderstrike

Use power supply API to expose battery information about connected
Thunderstrike controllers to the system. Provide information on battery
capacity, charge status, charger type, voltage, and temperature.

Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-nvidia-shield.c