1
LiangBryan 317 天前
```
cat /sys/class/power_supply/电池名称/energy_full # 查看当前最大容量 cat /sys/class/power_supply/电池名称/energy_full_design # 查看设计时的最大容量 ``` |
2
L4Linux 317 天前 via Android
大概是掉到 80%开始充电,充到 96%停止。
|
3
vcn8yjOogEL 317 天前
读取的是电池报告的容量, 如果电池固件不行那就不准
|
4
nrtEBH OP @LiangBryan 从数字上看 Vitals 读的就是这个 那可能还是和底层固件相关了
|
5
duzhuo 317 天前
```
$ sudo tlp-stat -b system 19:42:56 --- TLP 1.6.1 -------------------------------------------- +++ Battery Care Plugin: generic Supported features: none available +++ Battery Status: BAT1 /sys/class/power_supply/BAT1/manufacturer = LGC /sys/class/power_supply/BAT1/model_name = AP19B8M /sys/class/power_supply/BAT1/cycle_count = 125 /sys/class/power_supply/BAT1/charge_full_design = 4683 [mAh] /sys/class/power_supply/BAT1/charge_full = 4516 [mAh] /sys/class/power_supply/BAT1/charge_now = 3608 [mAh] /sys/class/power_supply/BAT1/current_now = 2384 [mA] /sys/class/power_supply/BAT1/status = Charging /sys/class/power_supply/BAT1/charge_control_start_threshold = (not available) /sys/class/power_supply/BAT1/charge_control_end_threshold = (not available) Charge = 79.9 [%] Capacity = 96.4 [%] ``` 不知道准不准 |