HID: logitech-hidpp: Add scope to battery
authorBastien Nocera <hadess@hadess.net>
Mon, 27 Mar 2017 14:59:22 +0000 (16:59 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 6 Apr 2017 12:36:36 +0000 (14:36 +0200)
commit3861e6ca305c5262f0493e9141f0c52ba066a447
treeb16f1ae9961ecefb50de2d00447d2e6cbbbe171a
parent8dba3026d5453aa6de00f8726fdcde45d5c57484
HID: logitech-hidpp: Add scope to battery

Without a scope defined, UPower assumes that the battery provides
power to the computer it's connected to, like a laptop battery or a UPS.

Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c