On Thu, 10 Aug 2017, Dmitry Torokhov wrote: > The power_supply subsystem tends to emit uevent every time > power_supply_changed() is called, so we should call this API only when > battery strength reported by the device is actually different from the > previous readings, otherwise we'll drown the system in uevents. > > Fixes: 581c4484769e ("HID: input: map digitizer battery usage") > Signed-off-by: Dmitry Torokhov <dmitry.torok...@gmail.com>
Applied to for-4.14/battery. Thanks, -- Jiri Kosina SUSE Labs