summaryrefslogtreecommitdiffstats
path: root/scripts/profile2linkerlist.pl
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2022-11-30 19:41:01 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2022-12-02 20:29:19 +0100
commit98b0cf207b61e17f3ea6d9c17334c8ffc2f44863 (patch)
treea52d171c8278569c7fc429f9d5348241783671c0 /scripts/profile2linkerlist.pl
parentLinux 6.1-rc7 (diff)
downloadlinux-98b0cf207b61e17f3ea6d9c17334c8ffc2f44863.tar.xz
linux-98b0cf207b61e17f3ea6d9c17334c8ffc2f44863.zip
ACPI: battery: Call power_supply_changed() when adding hooks
If a battery hook is added to a battery, userspace software is not informed that the available properties of the battery might have changed. This for example causes upower to react slowly if a new battery hook is added during runtime. Fix this by calling power_supply_changed() if a battery hook was successfully added/removed. Tested on a Dell Inspiron 3505. Signed-off-by: Armin Wolf <W_Armin@gmx.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/profile2linkerlist.pl')
0 files changed, 0 insertions, 0 deletions