linux查看笔记本电池健康情况

2023-12-14 17:08:24

本人的老电脑,笔记本x1 carbon 5th 用久了,电池不行了,实际容量只有27.657%,充电到40%的时候,一瞬间彪满100%。到某宝淘了一个 model: 01AV430的电池,等更换了再看看使用情况

$ upower --help
用法:
  upower [选项…] UPower tool

帮助选项:
  -h, --help           显示帮助选项

应用程序选项:
  -e, --enumerate      Enumerate objects paths for devices
  -d, --dump           Dump all parameters for all objects
  -w, --wakeups        Get the wakeup data
  -m, --monitor        Monitor activity from the power daemon
  --monitor-detail     Monitor with detail
  -i, --show-info      Show information about object path
  -v, --version        Print version of client and daemon
————————————————
$  upower --enumerate
/org/freedesktop/UPower/devices/line_power_AC
/org/freedesktop/UPower/devices/battery_BAT0
/org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
/org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o002
/org/freedesktop/UPower/devices/DisplayDevice

$ upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               SMP
  model:                01AV430
  serial:               2661
  power supply:         yes
  updated:              2023年12月09日 星期六 16时37分04秒 (103 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              6.42 Wh
    energy-empty:        0 Wh
    energy-full:         15.77 Wh
    energy-full-design:  57.02 Wh
    energy-rate:         1.652 W
    voltage:             12.519 V
    charge-cycles:       300
    time to full:        5.7 hours
    percentage:          40%
    capacity:            27.657%
    technology:          lithium-polymer
    icon-name:          'battery-good-charging-symbolic'

今天换上了新电池,发现厂家不一样了,之前叫SMP,现在叫LGC,容量已经是100%

upower -i /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          BAT0
  vendor:               LGC
  model:                430
  serial:               9001
  power supply:         yes
  updated:              2023年12月11日 星期一 10时44分58秒 (32 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               charging
    warning-level:       none
    energy:              40.95 Wh
    energy-empty:        0 Wh
    energy-full:         54.72 Wh
    energy-full-design:  54.72 Wh
    energy-rate:         25.906 W
    voltage:             12.372 V
    charge-cycles:       N/A
    time to full:        31.9 minutes
    percentage:          74%
    capacity:            100%
    technology:          lithium-polymer
    icon-name:          'battery-full-charging-symbolic'
  History (charge):
    1702262698	74.000	charging
  History (rate):
    1702262698	25.906	charging

文章来源:https://blog.csdn.net/u010674101/article/details/134897826
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。