Skip to contentSkip to conversation

Documentation/ABI: sysfs-platform-ideapad-laptop: conservation_mode and usb_charging

PATCH Superseded Barnabás Pőcze 1 participant 1 message Dec 16, 2020 x86 platform drivers

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 24/24 Documentation/ABI: sysfs-platform-ideapad-laptop: conservation_mode and usb_charging

Document the conservation_mode and usb_charging attributes provided by the ideapad-laptop module.

Documentation/ABI/testing/sysfs-platform-ideapad-laptop +18 -0
index e024678947c8..c5aad51a8b7c 100644
@@ -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:	[email protected]
+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.11
+Contact:	[email protected]
+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.
Signature · 1 line
2.29.2