SUMMARY In the latest build of Plasma, the login screen is able to show the battery percentage value. It would be great if it could also display the charging state. Where it is charging or discharging, like it does on the Plasma desktop. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
This has nothing to do with lightDM; moving back.
Andy: what does the battery look like: does it always show the "battery is charging" icon (the one with a little plug in it)? Or does it always show the "battery is discharging" icon (which doesn't have a plug in it)? Also, what's your kernel version? Is it 5.8.something, by any chance?
For me it shows just the battery icon and the charge percentage numbers. No plug in or out icon. I am on the latest stable kernel, not sure the version.
Thanks. Can confirm. I see the charge status indicator in the battery on the lock screen, but not the login screen.
The PlasmaCore.DataSource that provides this data is clearly working because it provides the percentage data just fine (`pmSource.data["Battery"]["Percent"]`). However either `pmSource.data["AC Adapter"]` or `pmSource.data["AC Adapter"]["Plugged in"]` are evaluating to false inappropriately. I wonder if this is related to https://gitlab.freedesktop.org/upower/upower/-/issues/126 in some way...
I guess it's because the data engine isn't available yet in SDDM. Ultimately this needs for SDDM to be made a KDE project and gain significantly better integration with Plasma. That will be unblocked by https://invent.kde.org/plasma/plasma-desktop/-/issues/91, but until that happens, unfortunately there's no real way to fix this. :(