Skip to content

Set Charging Threshold via sysfs #1728

@FlexApex

Description

@FlexApex

The problem you're addressing (if any)

Dasharo firmware supports setting battery stop threshold to extend longevity of the battery. It works great.
However, before I go on a trip I'd like to charge to 100%, without rebooting and entering Dasharo.

Describe the solution you'd like

Linux has support to set the threshold live, but the interface appears to not be provided by Dasharo:

echo 100 > /sys/class/power_supply/BAT0/charge_control_end_threshold
No such file or directory

Where is the value to a user, and who might that user be?

Being able to charge up to higher values on-demand allows for a lower battery threshold in daily (docked) operation, thus extending battery life of the laptop. Charging to 100% (or close) has been proven to degrade the battery.

Describe alternatives you've considered

No response

Additional context

Component: Dasharo firmware

Device: NovaCustom V54 14th Gen Laptop

Dasharo version: v1.0.0

Kernel: 6.17.9-1 (kernel-latest on Qubes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions