| Summary: | Make "Plugged in" indicator visible in battery icon for the SDDM login screen (currently work on the lock screen) | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Andres Betts <anditosan1000> |
| Component: | Theme - Breeze | Assignee: | visual-bugs-null |
| Status: | RESOLVED LATER | ||
| Severity: | wishlist | CC: | kde, nate, plasma-bugs-null, vibs.35 |
| Priority: | NOR | ||
| Version First Reported In: | 5.19.90 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Andres Betts
2020-10-10 13:59:36 UTC
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. :( |