Documentation/ABI/testing/sysfs-class-power-ltc4162l

Source file repositories/reference/linux-study-clean/Documentation/ABI/testing/sysfs-class-power-ltc4162l

File Facts

System
Linux kernel
Corpus path
Documentation/ABI/testing/sysfs-class-power-ltc4162l
Extension
[no extension]
Size
2363 bytes
Lines
83
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: Documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

What:		/sys/class/power_supply/ltc4162-l/charge_status
Date:		Januari 2021
KernelVersion:	5.11
Description:
		Detailed charge status information as reported by the chip.

		Access: Read

		Valid values:
			ilim_reg_active
			thermal_reg_active
			vin_uvcl_active
			iin_limit_active
			constant_current
			constant_voltage
			charger_off

What:		/sys/class/power_supply/ltc4162-l/ibat
Date:		Januari 2021
KernelVersion:	5.11
Description:
		Battery input current as measured by the charger. Negative value
		means that the battery is discharging.

		Access: Read

		Valid values: Signed value in microamps

What:		/sys/class/power_supply/ltc4162-l/vbat
Date:		Januari 2021
KernelVersion:	5.11
Description:
		Battery voltage as measured by the charger.

		Access: Read

		Valid values: In microvolts

What:		/sys/class/power_supply/ltc4162-l/vbat_avg
Date:		Januari 2021
KernelVersion:	5.11
Description:
		Battery voltage, averaged over time, as measured by the charger.

		Access: Read

		Valid values: In microvolts

What:		/sys/class/power_supply/ltc4162-l/force_telemetry
Date:		Januari 2021
KernelVersion:	5.11
Description:
		To save battery current, the measurement system is disabled if
		the battery is the only source of power. This affects all
		voltage, current and temperature measurements.
		Write a "1" to this to keep performing telemetry once every few
		seconds, even when running on battery (as reported by the online
		property, which is "1" when external power is available and "0"
		when the system runs on battery).

		Access: Read, Write

		Valid values: 0 (disabled) or 1 (enabled)

What:		/sys/class/power_supply/ltc4162-l/arm_ship_mode
Date:		Januari 2021
KernelVersion:	5.11
Description:
		The charger will normally drain the battery while inactive,
		typically drawing about 54 microamps. Write a "1" to this

Annotation

Implementation Notes