Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery charge capacity protection #214

Open
ghost opened this issue Feb 5, 2022 · 0 comments
Open

Battery charge capacity protection #214

ghost opened this issue Feb 5, 2022 · 0 comments

Comments

@ghost
Copy link

ghost commented Feb 5, 2022

Problem

I have a Lenovo laptop (Yoga Slim 7 for that matter) and it supports a technology called Conservation Mode which basically locks the charge at 55-60% to extend the battery's health. This feature is fully supported by the Linux kernel and works on elementaryOS through the command line. But I miss being able to toggle it on and off through the GUI like I used to be able to on Gnome using this and this extension. Other desktop environments also seem to lack a toggle for this and no one has a replacement as clean as Gnome's.

Proposal

Now that there is a new switchboard-plug-power interface, a toggle could appear for supported laptops in their own section that would visualize the outputs of the following commands:

sudo sh -c 'echo 1 | sudo tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode' => Conservation Mode on
sudo sh -c 'echo 0 | sudo tee /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode' => Conservation Mode off
cat /sys/bus/platform/drivers/ideapad_acpi/VPC2004:00/conservation_mode => displays the current status of the mode

Prior Art (Optional)

This is how I imagine it to look like:

Proposal

@danirabbit danirabbit changed the title Missing Toggle for Enabling & Disabling Conservation Mode Battery charge capacity protection Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant