← Documents Documentation/ABI/testing/sysfs-class-power-ltc4162l GitHub 원문 ↗

Linux 6.18.37 · ABI / testing

LTC4162L charger sysfs ABI

LTC4162L의 detailed charge status, battery current·voltage telemetry, battery-only telemetry 강제와 low-leakage ship mode를 설명합니다.

Source pathDocumentation/ABI/testing/sysfs-class-power-ltc4162l
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

Charge status and telemetry

sysfs-class-power-ltc4162l:1-47

Chip charge status와 signed IBAT, instant·average VBAT measurement를 제공합니다.

Telemetry override and ship mode

sysfs-class-power-ltc4162l:49-82

Battery-only operation의 telemetry 절전과 54 µA를 약 2.8 µA로 낮추는 ship mode를 제어합니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 What: /sys/class/power_supply/ltc4162-l/charge_status
2 Date: Januari 2021
3 KernelVersion: 5.11
4 Description:
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
18 What: /sys/class/power_supply/ltc4162-l/ibat
19 Date: Januari 2021
20 KernelVersion: 5.11
21 Description:
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
29 What: /sys/class/power_supply/ltc4162-l/vbat
30 Date: Januari 2021
31 KernelVersion: 5.11
32 Description:
33 Battery voltage as measured by the charger.
34
35 Access: Read
36
37 Valid values: In microvolts
38
39 What: /sys/class/power_supply/ltc4162-l/vbat_avg
40 Date: Januari 2021
41 KernelVersion: 5.11
42 Description:
43 Battery voltage, averaged over time, as measured by the charger.
44
45 Access: Read
46
47 Valid values: In microvolts
48
49 What: /sys/class/power_supply/ltc4162-l/force_telemetry
50 Date: Januari 2021
51 KernelVersion: 5.11
52 Description:
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
65 What: /sys/class/power_supply/ltc4162-l/arm_ship_mode
66 Date: Januari 2021
67 KernelVersion: 5.11
68 Description:
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)
83

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Detailed charge status

1-16
항목한국어 전문 번역
What/sys/class/power_supply/ltc4162-l/charge_status
Date2021년 1월
KernelVersion5.11
DescriptionChip이 보고하는 detailed charge status 정보입니다.
AccessRead
Valid valuesilim_reg_active, thermal_reg_active, vin_uvcl_active, iin_limit_active, constant_current, constant_voltage, charger_off
LTC4162L charge status values
분류
Regulationilim_reg_active, thermal_reg_active, vin_uvcl_active, iin_limit_active
Charging phaseconstant_current, constant_voltage
Disabledcharger_off

Regulation·limit, charging phase와 charger-off 상태를 분류합니다.

Measured battery current

18-27
항목한국어 전문 번역
What/sys/class/power_supply/ltc4162-l/ibat
Date2021년 1월
KernelVersion5.11
DescriptionCharger가 측정한 battery input current입니다. 음수 값은 battery가 discharging 중임을 뜻합니다.
AccessRead
Valid valuesSigned microamp 값

Measured battery voltage

29-37
항목한국어 전문 번역
What/sys/class/power_supply/ltc4162-l/vbat
Date2021년 1월
KernelVersion5.11
DescriptionCharger가 측정한 battery voltage입니다.
AccessRead
Valid valuesMicrovolt

Average battery voltage

39-47
항목한국어 전문 번역
What/sys/class/power_supply/ltc4162-l/vbat_avg
Date2021년 1월
KernelVersion5.11
DescriptionCharger가 측정하고 시간에 걸쳐 평균낸 battery voltage입니다.
AccessRead
Valid valuesMicrovolt
LTC4162L battery telemetry
속성측정값단위
ibatBattery input current, 음수는 dischargeSigned µA
vbatBattery voltageµV
vbat_avgTime-averaged battery voltageµV

Current sign과 instant·average voltage reading을 구분합니다.

Battery-only telemetry override

49-63
항목한국어 전문 번역
What/sys/class/power_supply/ltc4162-l/force_telemetry
Date2021년 1월
KernelVersion5.11
DescriptionBattery current를 절약하기 위해 battery가 유일한 power source이면 measurement system을 disable하며 모든 voltage, current, temperature measurement에 영향을 줍니다. 1을 쓰면 battery로 동작할 때도 몇 초마다 telemetry를 계속 수행합니다. online property는 external power가 있으면 1, battery로 동작하면 0을 보고합니다.
AccessRead, Write
Valid values0: disabled, 1: enabled

Low-leakage ship mode

65-82
항목한국어 전문 번역
What/sys/class/power_supply/ltc4162-l/arm_ship_mode
Date2021년 1월
KernelVersion5.11
DescriptionCharger는 inactive 상태에서도 보통 약 54 µA를 소모합니다. 1을 쓰면 leakage를 약 2.8 µA로 줄여 shelf life를 늘리는 special ship mode를 arm합니다. Chip은 external power supply가 연결되어 input voltage가 1 V를 넘을 때까지 이 mode에 머물며 I2C command에 더 이상 응답하지 않습니다. External power가 연결되면 자동으로 0으로 돌아갑니다. 0을 쓰면 ship mode request를 cancel합니다. Armed ship mode는 input voltage가 1 V 아래로 떨어질 때 activate됩니다.
AccessRead, Write
Valid values0: disable, 1: enable
LTC4162L ship mode lifecycle
arm_ship_mode = 1Input voltage < 1 VShip mode active: 약 2.8 µA leakage, I2C 응답 없음External supply로 input voltage > 1 V자동으로 arm_ship_mode = 0

Arming, activation과 external-power recovery 조건입니다.