Summary: | battery plasmoid uses deprecated /proc/acpi files | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | David <StormByte> |
Component: | widget-battery | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | wishlist | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David
2008-03-28 17:14:45 UTC
> I realized that battery plasmoid uses the deprecated /proc/acpi files
Show us the code, please, as I see it using a plasma dataengine using Solid only (no opening of files in /proc). And Solid in turn uses HAL to get the information from the system.
And HAL indeed still uses /proc/acpi files for those information, but parts read /sys already (hence the "I see my batterie twice" bug). But don't worry, they're slowly getting in order to fix that. Closing as INVALID, it's out of our code. OK, I can't show you the affecting code, but what I can say is that if I disable deprecated /proc/acpi functions in kernel, I'll get a battery plasmoid unusable (it says N/A in battery charge left, and so on)... |