Summary: | "No Batteries Available" despite detecting a battery | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Thiago Macieira <thiago> |
Component: | Power and Battery widget | Assignee: | Kai Uwe Broulik <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | kde, nate, plasma-bugs, sephiroth_pk |
Priority: | NOR | ||
Version: | 5.17.4 | ||
Target Milestone: | 1.0 | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thiago Macieira
2019-12-27 01:55:10 UTC
Does plasmaengineexplorer (part of plasma-sdk) also show it in power management engine? That's where data for the battery monitor comes from. (In reply to Kai Uwe Broulik from comment #1) > Does plasmaengineexplorer (part of plasma-sdk) also show it in power > management engine? That's where data for the battery monitor comes from. Yes, it does. I have a Battery and a Battery0, with the latter showing the correct energy level and remaining time, as Solid shows. Odd. When you run the batterymonitor from terminal, does it print anything suspicious? plasmoidviewer -a org.kde.plasma.battery or plasmawindowed org.kde.plasma.battery Huh, the battery does show then. After restarting Plasma, the battery does show now. I don't know why or when this started. Do you want me to investigate more or shall we close? Looks like a race or timing issue to me.. I've had similar reports in the past but I have never seen it happen on my system. :/ Maybe the DataModel (that turns Plasma DataEngine data into a QAIM) gets confused when the battery is added later, or something isn't initialized yet on login when Plasmashell starts initially but works later. Did this happen after suspend or on fresh login? (In reply to Kai Uwe Broulik from comment #5) > Looks like a race or timing issue to me.. I've had similar reports in the > past but I have never seen it happen on my system. :/ > > Maybe the DataModel (that turns Plasma DataEngine data into a QAIM) gets > confused when the battery is added later, or something isn't initialized yet > on login when Plasmashell starts initially but works later. > > Did this happen after suspend or on fresh login? I didn't notice when it started happening. I don't usually use my system on battery power, so it was running for 5 days until I realised I wasn't seeing the battery icon. The same happens to me on my tablet (Teclast X98 Pro). Restarting Plasma does fix the issue. *** This bug has been marked as a duplicate of bug 350365 *** |