@@ -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
```
@@ -171,10 +158,48 @@ Battery Status
171
158
Battery discharging
172
159
```
173
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
+
174
191
### Setting a custom charger current limit
175
192
176
193
```
177
- # Set limit to 2A
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
178
203
> sudo framework_tool --charge-current-limit 2000
179
204
180
205
# And then plug in a power adapter
@@ -183,6 +208,7 @@ Charger Status
183
208
AC is: connected
184
209
Charger Voltage: 17800mV
185
210
Charger Current: 2000mA
211
+ 0.51C
186
212
Chg Input Current:3084mA
187
213
Battery SoC: 87%
188
214
Battery Status
@@ -194,14 +220,16 @@ Battery Status
194
220
Charge level: 86%
195
221
Battery charging
196
222
197
- # Remove limit (highest USB-PD current is 5A )
198
- > sudo framework_tool --charge-current -limit 5000
223
+ # Remove limit (set rate to 1C )
224
+ > sudo framework_tool --charge-rate -limit 1
199
225
226
+ # Back to normal
200
227
> sudo framework_tool --power
201
228
Charger Status
202
229
AC is: connected
203
230
Charger Voltage: 17800mV
204
231
Charger Current: 2740mA
232
+ 0.70C
205
233
Chg Input Current:3084mA
206
234
Battery SoC: 92%
207
235
Battery Status
@@ -212,4 +240,8 @@ Battery Status
212
240
60.146 Wh
213
241
Charge level: 91%
214
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
215
247
```
0 commit comments