1*cd900f18SMike LooijmansWhat:		/sys/class/power_supply/ltc4162-l/charge_status
2*cd900f18SMike LooijmansDate:		Januari 2021
3*cd900f18SMike LooijmansKernelVersion:	5.11
4*cd900f18SMike LooijmansDescription:
5*cd900f18SMike Looijmans		Detailed charge status information as reported by the chip.
6*cd900f18SMike Looijmans
7*cd900f18SMike Looijmans		Access: Read
8*cd900f18SMike Looijmans
9*cd900f18SMike Looijmans		Valid values:
10*cd900f18SMike Looijmans			ilim_reg_active
11*cd900f18SMike Looijmans			thermal_reg_active
12*cd900f18SMike Looijmans			vin_uvcl_active
13*cd900f18SMike Looijmans			iin_limit_active
14*cd900f18SMike Looijmans			constant_current
15*cd900f18SMike Looijmans			constant_voltage
16*cd900f18SMike Looijmans			charger_off
17*cd900f18SMike Looijmans
18*cd900f18SMike LooijmansWhat:		/sys/class/power_supply/ltc4162-l/ibat
19*cd900f18SMike LooijmansDate:		Januari 2021
20*cd900f18SMike LooijmansKernelVersion:	5.11
21*cd900f18SMike LooijmansDescription:
22*cd900f18SMike Looijmans		Battery input current as measured by the charger. Negative value
23*cd900f18SMike Looijmans		means that the battery is discharging.
24*cd900f18SMike Looijmans
25*cd900f18SMike Looijmans		Access: Read
26*cd900f18SMike Looijmans
27*cd900f18SMike Looijmans		Valid values: Signed value in microamps
28*cd900f18SMike Looijmans
29*cd900f18SMike LooijmansWhat:		/sys/class/power_supply/ltc4162-l/vbat
30*cd900f18SMike LooijmansDate:		Januari 2021
31*cd900f18SMike LooijmansKernelVersion:	5.11
32*cd900f18SMike LooijmansDescription:
33*cd900f18SMike Looijmans		Battery voltage as measured by the charger.
34*cd900f18SMike Looijmans
35*cd900f18SMike Looijmans		Access: Read
36*cd900f18SMike Looijmans
37*cd900f18SMike Looijmans		Valid values: In microvolts
38*cd900f18SMike Looijmans
39*cd900f18SMike LooijmansWhat:		/sys/class/power_supply/ltc4162-l/vbat_avg
40*cd900f18SMike LooijmansDate:		Januari 2021
41*cd900f18SMike LooijmansKernelVersion:	5.11
42*cd900f18SMike LooijmansDescription:
43*cd900f18SMike Looijmans		Battery voltage, averaged over time, as measured by the charger.
44*cd900f18SMike Looijmans
45*cd900f18SMike Looijmans		Access: Read
46*cd900f18SMike Looijmans
47*cd900f18SMike Looijmans		Valid values: In microvolts
48*cd900f18SMike Looijmans
49*cd900f18SMike LooijmansWhat:		/sys/class/power_supply/ltc4162-l/force_telemetry
50*cd900f18SMike LooijmansDate:		Januari 2021
51*cd900f18SMike LooijmansKernelVersion:	5.11
52*cd900f18SMike LooijmansDescription:
53*cd900f18SMike Looijmans		To save battery current, the measurement system is disabled if
54*cd900f18SMike Looijmans		the battery is the only source of power. This affects all
55*cd900f18SMike Looijmans		voltage, current and temperature measurements.
56*cd900f18SMike Looijmans		Write a "1" to this to keep performing telemetry once every few
57*cd900f18SMike Looijmans		seconds, even when running on battery (as reported by the online
58*cd900f18SMike Looijmans		property, which is "1" when external power is available and "0"
59*cd900f18SMike Looijmans		when the system runs on battery).
60*cd900f18SMike Looijmans
61*cd900f18SMike Looijmans		Access: Read, Write
62*cd900f18SMike Looijmans
63*cd900f18SMike Looijmans		Valid values: 0 (disabled) or 1 (enabled)
64*cd900f18SMike Looijmans
65*cd900f18SMike LooijmansWhat:		/sys/class/power_supply/ltc4162-l/arm_ship_mode
66*cd900f18SMike LooijmansDate:		Januari 2021
67*cd900f18SMike LooijmansKernelVersion:	5.11
68*cd900f18SMike LooijmansDescription:
69*cd900f18SMike Looijmans		The charger will normally drain the battery while inactive,
70*cd900f18SMike Looijmans		typically drawing about 54 microamps. Write a "1" to this
71*cd900f18SMike Looijmans		property to arm a special "ship" mode that extends shelf life
72*cd900f18SMike Looijmans		by reducing the leakage to about 2.8 microamps. The chip will
73*cd900f18SMike Looijmans		remain in this mode (and no longer respond to I2C commands)
74*cd900f18SMike Looijmans		until some external power-supply is attached raising the input
75*cd900f18SMike Looijmans		voltage above 1V. It will then automatically revert to "0".
76*cd900f18SMike Looijmans		Writing a "0" to the property cancels the "ship" mode request.
77*cd900f18SMike Looijmans		The ship mode, when armed, activates once the input voltage
78*cd900f18SMike Looijmans		drops below 1V.
79*cd900f18SMike Looijmans
80*cd900f18SMike Looijmans		Access: Read, Write
81*cd900f18SMike Looijmans
82*cd900f18SMike Looijmans		Valid values: 0 (disable) or 1 (enable)
83