xref: /OK3568_Linux_fs/kernel/Documentation/ABI/testing/sysfs-class-power-wilco (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunWhat:		/sys/class/power_supply/wilco-charger/charge_type
2*4882a593SmuzhiyunDate:		April 2019
3*4882a593SmuzhiyunKernelVersion:	5.2
4*4882a593SmuzhiyunDescription:
5*4882a593Smuzhiyun		What charging algorithm to use:
6*4882a593Smuzhiyun
7*4882a593Smuzhiyun		Standard:
8*4882a593Smuzhiyun			Fully charges battery at a standard rate.
9*4882a593Smuzhiyun		Adaptive:
10*4882a593Smuzhiyun			Battery settings adaptively optimized based on
11*4882a593Smuzhiyun			typical battery usage pattern.
12*4882a593Smuzhiyun		Fast:
13*4882a593Smuzhiyun			Battery charges over a shorter period.
14*4882a593Smuzhiyun		Trickle:
15*4882a593Smuzhiyun			Extends battery lifespan, intended for users who
16*4882a593Smuzhiyun			primarily use their Chromebook while connected to AC.
17*4882a593Smuzhiyun		Custom:
18*4882a593Smuzhiyun			A low and high threshold percentage is specified.
19*4882a593Smuzhiyun			Charging begins when level drops below
20*4882a593Smuzhiyun			charge_control_start_threshold, and ceases when
21*4882a593Smuzhiyun			level is above charge_control_end_threshold.
22*4882a593Smuzhiyun		Long Life:
23*4882a593Smuzhiyun			Customized charge rate for last longer battery life.
24*4882a593Smuzhiyun			On Wilco device this mode is pre-configured in the factory
25*4882a593Smuzhiyun			through EC's private PID. Swiching to a different mode will
26*4882a593Smuzhiyun			be denied by Wilco EC when Long Life mode is enabled.
27*4882a593Smuzhiyun
28*4882a593SmuzhiyunWhat:		/sys/class/power_supply/wilco-charger/charge_control_start_threshold
29*4882a593SmuzhiyunDate:		April 2019
30*4882a593SmuzhiyunKernelVersion:	5.2
31*4882a593SmuzhiyunDescription:
32*4882a593Smuzhiyun		Used when charge_type="Custom", as described above. Measured in
33*4882a593Smuzhiyun		percentages. The valid range is [50, 95].
34*4882a593Smuzhiyun
35*4882a593SmuzhiyunWhat:		/sys/class/power_supply/wilco-charger/charge_control_end_threshold
36*4882a593SmuzhiyunDate:		April 2019
37*4882a593SmuzhiyunKernelVersion:	5.2
38*4882a593SmuzhiyunDescription:
39*4882a593Smuzhiyun		Used when charge_type="Custom", as described above. Measured in
40*4882a593Smuzhiyun		percentages. The valid range is [55, 100].
41