Bug 497084 - Entering Power Management KCM results in a consol error message, but the UI doesn't indicate that (Lenovo p14s AMD)
Summary: Entering Power Management KCM results in a consol error message, but the UI d...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_powerdevil (other bugs)
Version First Reported In: 6.2.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-05 14:07 UTC by redford
Modified: 2024-12-13 21:13 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description redford 2024-12-05 14:07:43 UTC
SUMMARY

When opening the "Power Management" applet the UI doesn't indicate any problems, but `plasma-powerdevil.service` logs the following:

org_kde_powerdevil[1633]: org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getconservationmode failed "Battery conservation mode is not supported"

OBSERVED RESULT

Error logged but not displayed in the UI.

EXPECTED RESULT

Ideally no error happening at all, or at least some indication in the UI that setting some settings failed.

SOFTWARE/OS VERSIONS

KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel: 6.12.1-arch1-1 (64-bit)
Device: ThinkPad P14s Gen 5 (AMD) 21ME

ADDITIONAL INFORMATION

Setting stuff manually in /sys/class/power_supply/BAT0 seems to work correctly, so I'm not sure what exactly is causing the error.

I can help in debugging, I know low-level stuff and gdb, but I'm very new to KDE and Arch, so I'll need help with that.
Comment 1 Nicolas Fella 2024-12-06 17:28:12 UTC
This not really an error, it just means this particular hardware feature is not available.

The message is slightly misleading
Comment 2 redford 2024-12-06 23:50:33 UTC
(In reply to Nicolas Fella from comment #1)
> This not really an error, it just means this particular hardware feature is
> not available.
> 
> The message is slightly misleading

But if it's not available, then the UI should not allow using it? There's no indication that it's not actually working.
Also, I'm able to set stuff in /sys/class/power_supply/BAT0 manually, so it seems that it does actually work? What does this message in the logs means, exactly?