Bug 427986

Summary: Battery charge threshold doesn't work properly
Product: [Unmaintained] Powerdevil Reporter: popov895 <popov895>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate, popov895
Priority: NOR Keywords: usability
Version First Reported In: 5.20.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: My TLP config

Description popov895 2020-10-19 15:23:50 UTC
Created attachment 132565 [details]
My TLP config

SUMMARY

First, I want to thank you for the implementation of this feature. But unfortunately it doesn't work properly for me.

I'm using a ThinkPad E580 which supports setting the charge start/stop thresholds. I also use TLP to manage these charge thresholds.

My TLP config is attached.

PowerDevil KCM page (System Settings > Power Managemenet > Advanced Settings) shows charge start threshold as 70% and charge stop threshold as 65%, which is wrong (relative to my TLP config). Moreover, the charge start threshold can't be greater then the charge stop threshold. Also, every time I visit this KCM page, different thresholds are shown, but they are never correct (relative to my TLP config).

Also there should also be an option to enable/disable the battery charge threshold. It is currently unclear how to do this: should I set both thresholds ​​to 100% or 0%?

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon 5.20 User Edition / X11
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Comment 1 popov895 2021-03-16 15:39:09 UTC
Looks like it's an EC firmware issue / https://linrunner.de/tlp/faq/battery.html#charge-thresholds-shown-by-tlp-stat-b-do-not-correspond-to-the-configured-ones.

Nate, does this feature work well on your ThinkPad?