Bug 497084

Summary: Entering Power Management KCM results in a consol error message, but the UI doesn't indicate that (Lenovo p14s AMD)
Product: [Applications] systemsettings Reporter: redford <redford>
Component: kcm_powerdevilAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: kde, natalie_clarius, nate, nicolas.fella, redford
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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?