brintos

brintos / linux-shallow public Read only

0
0
Text · 2.3 KiB · ba30db9 Raw
83 lines · plain
1What:		/sys/class/power_supply/ltc4162-l/charge_status2Date:		Januari 20213KernelVersion:	5.114Description:5		Detailed charge status information as reported by the chip.6 7		Access: Read8 9		Valid values:10			ilim_reg_active11			thermal_reg_active12			vin_uvcl_active13			iin_limit_active14			constant_current15			constant_voltage16			charger_off17 18What:		/sys/class/power_supply/ltc4162-l/ibat19Date:		Januari 202120KernelVersion:	5.1121Description:22		Battery input current as measured by the charger. Negative value23		means that the battery is discharging.24 25		Access: Read26 27		Valid values: Signed value in microamps28 29What:		/sys/class/power_supply/ltc4162-l/vbat30Date:		Januari 202131KernelVersion:	5.1132Description:33		Battery voltage as measured by the charger.34 35		Access: Read36 37		Valid values: In microvolts38 39What:		/sys/class/power_supply/ltc4162-l/vbat_avg40Date:		Januari 202141KernelVersion:	5.1142Description:43		Battery voltage, averaged over time, as measured by the charger.44 45		Access: Read46 47		Valid values: In microvolts48 49What:		/sys/class/power_supply/ltc4162-l/force_telemetry50Date:		Januari 202151KernelVersion:	5.1152Description:53		To save battery current, the measurement system is disabled if54		the battery is the only source of power. This affects all55		voltage, current and temperature measurements.56		Write a "1" to this to keep performing telemetry once every few57		seconds, even when running on battery (as reported by the online58		property, which is "1" when external power is available and "0"59		when the system runs on battery).60 61		Access: Read, Write62 63		Valid values: 0 (disabled) or 1 (enabled)64 65What:		/sys/class/power_supply/ltc4162-l/arm_ship_mode66Date:		Januari 202167KernelVersion:	5.1168Description:69		The charger will normally drain the battery while inactive,70		typically drawing about 54 microamps. Write a "1" to this71		property to arm a special "ship" mode that extends shelf life72		by reducing the leakage to about 2.8 microamps. The chip will73		remain in this mode (and no longer respond to I2C commands)74		until some external power-supply is attached raising the input75		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 voltage78		drops below 1V.79 80		Access: Read, Write81 82		Valid values: 0 (disable) or 1 (enable)83