0001 What: /sys/class/power_supply/ltc4162-l/charge_status
0002 Date: Januari 2021
0003 KernelVersion: 5.11
0004 Description:
0005 Detailed charge status information as reported by the chip.
0006
0007 Access: Read
0008
0009 Valid values:
0010 ilim_reg_active
0011 thermal_reg_active
0012 vin_uvcl_active
0013 iin_limit_active
0014 constant_current
0015 constant_voltage
0016 charger_off
0017
0018 What: /sys/class/power_supply/ltc4162-l/ibat
0019 Date: Januari 2021
0020 KernelVersion: 5.11
0021 Description:
0022 Battery input current as measured by the charger. Negative value
0023 means that the battery is discharging.
0024
0025 Access: Read
0026
0027 Valid values: Signed value in microamps
0028
0029 What: /sys/class/power_supply/ltc4162-l/vbat
0030 Date: Januari 2021
0031 KernelVersion: 5.11
0032 Description:
0033 Battery voltage as measured by the charger.
0034
0035 Access: Read
0036
0037 Valid values: In microvolts
0038
0039 What: /sys/class/power_supply/ltc4162-l/vbat_avg
0040 Date: Januari 2021
0041 KernelVersion: 5.11
0042 Description:
0043 Battery voltage, averaged over time, as measured by the charger.
0044
0045 Access: Read
0046
0047 Valid values: In microvolts
0048
0049 What: /sys/class/power_supply/ltc4162-l/force_telemetry
0050 Date: Januari 2021
0051 KernelVersion: 5.11
0052 Description:
0053 To save battery current, the measurement system is disabled if
0054 the battery is the only source of power. This affects all
0055 voltage, current and temperature measurements.
0056 Write a "1" to this to keep performing telemetry once every few
0057 seconds, even when running on battery (as reported by the online
0058 property, which is "1" when external power is available and "0"
0059 when the system runs on battery).
0060
0061 Access: Read, Write
0062
0063 Valid values: 0 (disabled) or 1 (enabled)
0064
0065 What: /sys/class/power_supply/ltc4162-l/arm_ship_mode
0066 Date: Januari 2021
0067 KernelVersion: 5.11
0068 Description:
0069 The charger will normally drain the battery while inactive,
0070 typically drawing about 54 microamps. Write a "1" to this
0071 property to arm a special "ship" mode that extends shelf life
0072 by reducing the leakage to about 2.8 microamps. The chip will
0073 remain in this mode (and no longer respond to I2C commands)
0074 until some external power-supply is attached raising the input
0075 voltage above 1V. It will then automatically revert to "0".
0076 Writing a "0" to the property cancels the "ship" mode request.
0077 The ship mode, when armed, activates once the input voltage
0078 drops below 1V.
0079
0080 Access: Read, Write
0081
0082 Valid values: 0 (disable) or 1 (enable)