Commit | Line | Data |
---|---|---|
cd900f18 ML |
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) |