@root-core question do you still have the ideapad on which you developed this pull-request?
The reason I'm asking is I'm a co-maintainer of drivers/platform/x86[/ideapad-laptop.c]
in the kernel and we are looking at adding a non ideapad specific userspace API for controlling conservation_mode. Specifically the plan is to extend the /sys/class/power_supply/BATx/ power-supply class device for the battery on these laptops with a new charge_types attribute (when conservation_mode is supported) and have that report e.g. [Standard] Long_Life
with the active option surrounded by []
and writing one of the 2 options changing the setting.
I have already written the power-supply core support for this:https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d24bf99214b199c25f9c2cb04b3a4993d1c7ab60
And I would like to also write the patch to add this new userspace API to the ideapad-laptop driver, but I need someone to test that for me.
The old /sys/bus/platform/devices/VPC2004:00/conservation_mode attribute will of course be kept to not break existing userspace users like PowerDevil.
Note the reason I bring this up now is because of discussions around adding support for the new way of enabling/disabling conservation-mode to upower: https://gitlab.freedesktop.org/upower/upower/-/issues/275