linux-imx/Documentation/ABI/testing/sysfs-platform-ideapad-laptop
Barnabás Pőcze cb3acb1564 Documentation/ABI: sysfs-platform-ideapad-laptop: conservation_mode attribute
Document the conservation_mode attributes provided by the ideapad-laptop module.

Fixes: ade5029618 ("platform/x86: ideapad-laptop: Expose conservation mode switch")
Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>
Link: https://lore.kernel.org/r/20210203215403.290792-30-pobrn@protonmail.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-02-04 10:21:50 +01:00

1.7 KiB

What: /sys/bus/platform/devices/VPC2004:*/camera_power Date: Dec 2010 KernelVersion: 2.6.37 Contact: "Ike Panhc ike.pan@canonical.com" Description: Control the power of camera module. 1 means on, 0 means off.

What: /sys/bus/platform/devices/VPC2004:*/fan_mode Date: June 2012 KernelVersion: 3.6 Contact: "Maxim Mikityanskiy maxtram95@gmail.com" Description: Change fan mode There are four available modes:

		* 0 -> Super Silent Mode
		* 1 -> Standard Mode
		* 2 -> Dust Cleaning
		* 4 -> Efficient Thermal Dissipation Mode

What: /sys/bus/platform/devices/VPC2004:*/touchpad Date: May 2017 KernelVersion: 4.13 Contact: "Ritesh Raj Sarraf rrs@debian.org" Description: Control touchpad mode. * 1 -> Switched On * 0 -> Switched Off

What: /sys/bus/platform/devices/VPC2004:*/conservation_mode Date: Aug 2017 KernelVersion: 4.14 Contact: platform-driver-x86@vger.kernel.org Description: Controls whether the conservation mode is enabled or not. This feature limits the maximum battery charge percentage to around 50-60% in order to prolong the lifetime of the battery.

What: /sys/bus/platform/devices/VPC2004:*/fn_lock Date: May 2018 KernelVersion: 4.18 Contact: "Oleg Keri ezhi99@gmail.com" Description: Control fn-lock mode.

		* 1 -> Switched On
		* 0 -> Switched Off

	For example::

	  # echo "0" >	\
	  /sys/bus/pci/devices/0000:00:1f.0/PNP0C09:00/VPC2004:00/fn_lock

What: /sys/bus/platform/devices/VPC2004:*/usb_charging Date: Feb 2021 KernelVersion: 5.12 Contact: platform-driver-x86@vger.kernel.org Description: Controls whether the "always on USB charging" feature is enabled or not. This feature enables charging USB devices even if the computer is not turned on.