HID: sony: Set initial battery level to 100% to avoid false low battery warnings
authorFrank Praznik <frank.praznik@oh.rr.com>
Thu, 6 Feb 2014 01:03:48 +0000 (20:03 -0500)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 Feb 2014 13:11:07 +0000 (14:11 +0100)
commitd9a293a951d5cc44842acf340af51ace8e0cfdbe
tree423a1184dfd79b2d4c3e6d3a031270898977d92e
parent6c5f860d3f658ff502952a0e57b7e40878391dc1
HID: sony: Set initial battery level to 100% to avoid false low battery warnings

Set the initial battery level to 100% to avoid false low battery warnings if
the battery state is polled before a report with the actual battery level is
received.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c