Bug 427986 - Battery charge threshold doesn't work properly
Summary: Battery charge threshold doesn't work properly
Status: RESOLVED UPSTREAM
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2020-10-19 15:23 UTC by popov895
Modified: 2024-10-26 17:56 UTC (History)
3 users (show)

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


Attachments
My TLP config (3.75 KB, text/plain)
2020-10-19 15:23 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
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?