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