diff mbox series

[v2,24/24] Documentation/ABI: sysfs-platform-ideapad-laptop: conservation_mode and usb_charging

Message ID 20210113182016.166049-25-pobrn@protonmail.com (mailing list archive)
State Changes Requested, archived
Headers show
Series platform/x86: ideapad-laptop: cleanup, keyboard backlight and "always on USB charging" control support, reenable touchpad control | expand

Commit Message

Barnabás Pőcze Jan. 13, 2021, 6:23 p.m. UTC
Document the conservation_mode and usb_charging attributes provided
by the ideapad-laptop module.

Signed-off-by: Barnabás Pőcze <pobrn@protonmail.com>

Comments

Andy Shevchenko Jan. 16, 2021, 8:11 p.m. UTC | #1
On Wed, Jan 13, 2021 at 8:25 PM Barnabás Pőcze <pobrn@protonmail.com> wrote:
>
> Document the conservation_mode and usb_charging attributes provided
> by the ideapad-laptop module.

Looking at dates it seems it should be split to two, where the first
one has a Fixes tag in it.

> +Date:          Aug 2017
> +KernelVersion: 4.14

> +Date:          Dec 2020
> +KernelVersion: 5.12
diff mbox series

Patch

diff --git a/Documentation/ABI/testing/sysfs-platform-ideapad-laptop b/Documentation/ABI/testing/sysfs-platform-ideapad-laptop
index e024678947c8..c8b64c39eb18 100644
--- a/Documentation/ABI/testing/sysfs-platform-ideapad-laptop
+++ b/Documentation/ABI/testing/sysfs-platform-ideapad-laptop
@@ -27,6 +27,15 @@  Description:
 			* 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
@@ -41,3 +50,12 @@  Description:
 
 		  # 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:		Dec 2020
+KernelVersion:	5.12
+Contact:	platform-driver-x86@vger.kernel.org
+Description:
+		Controls whether the "always on USB charging" feature is
+		enabled or not. This features enables charging USB devices
+		even if the computer is not turned on.