https://bugs.kde.org/show_bug.cgi?id=400079
--- Comment #10 from Brian Kaye <b...@unb.ca> --- On my system (Lenovo P50 laptop running Fedora 34) the script below will show whether of not the AC adapter is connected. Not a lot of use if used on a desktop. Would be nice to see if it works on other distros. Another source for battery information can be found in "/sys/class/power_supply/BAT0" if (( $( </sys/class/power_supply/AC/online ) )); then echo "AC Adapter connected "; else echo "AC Adapter not connected "; fi -- You are receiving this mail because: You are watching all bug changes.