-
-
Notifications
You must be signed in to change notification settings - Fork 13
Description
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