@@ -93,19 +93,6 @@ LED Matrix
93
93
ALS: 76 Lux
94
94
```
95
95
96
- ## Check power (AC and battery) status
97
-
98
- ```
99
- > sudo ./target/debug/framework_tool --power
100
- AC is: not connected
101
- Battery is: connected
102
- Battery LFCC: 3949 mAh (Last Full Charge Capacity)
103
- Battery Capacity: 2770 mAh
104
- 44.729 Wh
105
- Charge level: 70%
106
- Battery discharging
107
- ```
108
-
109
96
## Set custom fan duty/RPM
110
97
111
98
```
@@ -139,6 +126,7 @@ ALS: 76 Lux
139
126
Fan Speed: 0 RPM
140
127
```
141
128
129
+
142
130
## Check expansion bay (Framework 16)
143
131
144
132
```
@@ -149,4 +137,111 @@ Expansion Bay
149
137
Hatch closed: true
150
138
Board: DualInterposer
151
139
Serial Number: FRAXXXXXXXXXXXXXXX
140
+
141
+ ## Check charger and battery status (Framework 12/13/16)
142
+
143
+ ```
144
+ > sudo framework_tool --power
145
+ Charger Status
146
+ AC is: not connected
147
+ Charger Voltage: 17048mV
148
+ Charger Current: 0mA
149
+ Chg Input Current:384mA
150
+ Battery SoC: 93%
151
+ Battery Status
152
+ AC is: not connected
153
+ Battery is: connected
154
+ Battery LFCC: 3693 mAh (Last Full Charge Capacity)
155
+ Battery Capacity: 3409 mAh
156
+ 58.96 Wh
157
+ Charge level: 92%
158
+ Battery discharging
159
+ ```
160
+
161
+ Get more information
162
+
163
+ ```
164
+ > sudo framework_tool --power -vv
165
+ Charger Status
166
+ AC is: not connected
167
+ Charger Voltage: 14824mV
168
+ Charger Current: 0mA
169
+ Chg Input Current:384mA
170
+ Battery SoC: 33%
171
+ Battery Status
172
+ AC is: not connected
173
+ Battery is: connected
174
+ Battery LFCC: 4021 mAh (Last Full Charge Capacity)
175
+ Battery Capacity: 1300 mAh
176
+ 19.267 Wh
177
+ Charge level: 32%
178
+ Manufacturer: NVT
179
+ Model Number: FRANGWA
180
+ Serial Number: 038F
181
+ Battery Type: LION
182
+ Present Voltage: 14.821 V
183
+ Present Rate: 943 mA
184
+ Design Capacity: 3915 mAh
185
+ 60.604 Wh
186
+ Design Voltage: 15.480 V
187
+ Cycle Count: 64
188
+ Battery discharging
189
+ ```
190
+
191
+ ### Setting a custom charger current limit
192
+
193
+ ```
194
+ # 1C = normal charging rate
195
+ # This means charging from 0 to 100% takes 1 hour
196
+ # Set charging rate to 0.8C
197
+ > sudo framework_tool --charge-rate-limit 0.8
198
+
199
+ # Limit charge current to the battery to to 2A
200
+ # In the output of ` framework_tool --power -vv ` above you can se "Design Capacity"
201
+ # Dividing that by 1h gives you the maximum charging current (1C)
202
+ # For example Design Capacity: 3915 mAh => 3915mA
203
+ > sudo framework_tool --charge-current-limit 2000
204
+
205
+ # And then plug in a power adapter
206
+ > sudo framework_tool --power
207
+ Charger Status
208
+ AC is: connected
209
+ Charger Voltage: 17800mV
210
+ Charger Current: 2000mA
211
+ 0.51C
212
+ Chg Input Current:3084mA
213
+ Battery SoC: 87%
214
+ Battery Status
215
+ AC is: connected
216
+ Battery is: connected
217
+ Battery LFCC: 3713 mAh (Last Full Charge Capacity)
218
+ Battery Capacity: 3215 mAh
219
+ 56.953 Wh
220
+ Charge level: 86%
221
+ Battery charging
222
+
223
+ # Remove limit (set rate to 1C)
224
+ > sudo framework_tool --charge-rate-limit 1
225
+
226
+ # Back to normal
227
+ > sudo framework_tool --power
228
+ Charger Status
229
+ AC is: connected
230
+ Charger Voltage: 17800mV
231
+ Charger Current: 2740mA
232
+ 0.70C
233
+ Chg Input Current:3084mA
234
+ Battery SoC: 92%
235
+ Battery Status
236
+ AC is: connected
237
+ Battery is: connected
238
+ Battery LFCC: 3713 mAh (Last Full Charge Capacity)
239
+ Battery Capacity: 3387 mAh
240
+ 60.146 Wh
241
+ Charge level: 91%
242
+ Battery charging
243
+
244
+ # Set charge rate/current limit only if battery is >80% charged
245
+ > sudo framework_tool --charge-rate-limit 80 0.8
246
+ > sudo framework_tool --charge-current-limit 80 2000
152
247
```
0 commit comments