Laptop connected to AC then disconnected powerdevil issues a page to user stating PC has been disconnected, however it takes over 3-4 seconds to do so. Same goes for attaching laptop to AC also yields same slowness.
After further testing I verified connecting PC to AC yields notifications far quicker than disconnecting.
Can you monitor DBus to see what takes so long? If UPower takes a while to notify us there's nothing we could do. Is this just about the notification or does the battery icon also take a while to update?
I will do it if Im told what commands need issuing to disclose relevant data.
Easiest would be running "dbus-monitor" on console or using "bustle" which lets you record DBus traffic. I could imagine two scenarios: 1.) UPower (and/or the kernel driver/or ACPI) taking a while to realize 2.) KNotification being slow and taking a while to spawn the notification (if that's the case the battery icon would update immediately) Thanks!
Please do not confirm your own tickets, unless you inspected the source code to confirm that the issue is indeed in KDE software.
Created attachment 111068 [details] monitor log from dbus-monitor
This was an issue with laptop-mode-tools powerdevil was not at fualt here.