Bug 209273 - Please support Dell battery charge threshold configuration
Summary: Please support Dell battery charge threshold configuration
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: Platform_x86 (show other bugs)
Hardware: x86-64 Linux
: P1 enhancement
Assignee: drivers_platform_x86@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-15 06:09 UTC by Oded Arbel
Modified: 2021-01-15 12:45 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.4.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Oded Arbel 2020-09-15 06:09:34 UTC
Dell laptops support setting the battery charge start and stop thresholds, similar to support that is offered for other laptops through the `/sys/class/power_supply/BAT*/charge_*_threshold` API, but requires using Dell's Command Configure toolkit ( https://www.dell.com/support/manuals/il/en/ilbsdt1/command-configure-v4.2/dcc_ig_4.2/introduction-to-dell-command-configure-42 ).

For example, one can set the battery charging start and stop threshold using the command `/opt/dell/dcc/cctk --primarybatterycfg=custom:50-80` (there is also a default "standard" profile that can be used instead of "custom").

As far as I understand the Dell tool is using SMBIOS to set the the charge threshold. It would be great if the kernel can support Dell devices in a similar way it supports other devices - this would allow standard system tools such as the new Plasma battery configuration feature ( https://invent.kde.org/plasma/powerdevil/-/merge_requests/5 ).

Note You need to log in before you can comment on or make changes to this bug.