xref: /openbmc/linux/Documentation/ABI/testing/sysfs-class-power-wilco (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
13f57fe28SNick CrewsWhat:		/sys/class/power_supply/wilco-charger/charge_type
23f57fe28SNick CrewsDate:		April 2019
33f57fe28SNick CrewsKernelVersion:	5.2
43f57fe28SNick CrewsDescription:
53f57fe28SNick Crews		What charging algorithm to use:
63f57fe28SNick Crews
7002a9c2fSMauro Carvalho Chehab		Standard:
8002a9c2fSMauro Carvalho Chehab			Fully charges battery at a standard rate.
9002a9c2fSMauro Carvalho Chehab		Adaptive:
10002a9c2fSMauro Carvalho Chehab			Battery settings adaptively optimized based on
113f57fe28SNick Crews			typical battery usage pattern.
12002a9c2fSMauro Carvalho Chehab		Fast:
13002a9c2fSMauro Carvalho Chehab			Battery charges over a shorter period.
14002a9c2fSMauro Carvalho Chehab		Trickle:
15002a9c2fSMauro Carvalho Chehab			Extends battery lifespan, intended for users who
163f57fe28SNick Crews			primarily use their Chromebook while connected to AC.
17002a9c2fSMauro Carvalho Chehab		Custom:
18002a9c2fSMauro Carvalho Chehab			A low and high threshold percentage is specified.
193f57fe28SNick Crews			Charging begins when level drops below
203f57fe28SNick Crews			charge_control_start_threshold, and ceases when
213f57fe28SNick Crews			level is above charge_control_end_threshold.
22002a9c2fSMauro Carvalho Chehab		Long Life:
23002a9c2fSMauro Carvalho Chehab			Customized charge rate for last longer battery life.
2446cbd0b0SCrag Wang			On Wilco device this mode is pre-configured in the factory
25*ebab9426SBjorn Helgaas			through EC's private PID. Switching to a different mode will
2646cbd0b0SCrag Wang			be denied by Wilco EC when Long Life mode is enabled.
273f57fe28SNick Crews
283f57fe28SNick CrewsWhat:		/sys/class/power_supply/wilco-charger/charge_control_start_threshold
293f57fe28SNick CrewsDate:		April 2019
303f57fe28SNick CrewsKernelVersion:	5.2
313f57fe28SNick CrewsDescription:
323f57fe28SNick Crews		Used when charge_type="Custom", as described above. Measured in
333f57fe28SNick Crews		percentages. The valid range is [50, 95].
343f57fe28SNick Crews
353f57fe28SNick CrewsWhat:		/sys/class/power_supply/wilco-charger/charge_control_end_threshold
363f57fe28SNick CrewsDate:		April 2019
373f57fe28SNick CrewsKernelVersion:	5.2
383f57fe28SNick CrewsDescription:
393f57fe28SNick Crews		Used when charge_type="Custom", as described above. Measured in
403f57fe28SNick Crews		percentages. The valid range is [55, 100].
41