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

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

bash 复制代码
$ 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%

bash 复制代码
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
相关推荐
郝学胜-神的一滴35 分钟前
Linux命名管道:创建与原理详解
linux·运维·服务器·开发语言·c++·程序人生·个人开发
宾有为35 分钟前
【Linux】Linux 常用指令
linux·服务器·ssh
wanhengidc43 分钟前
云手机性能如何?
运维·服务器·科技·智能手机·云计算
wdfk_prog1 小时前
[Linux]学习笔记系列 -- [block]bio
linux·笔记·学习
ajassi20001 小时前
开源 Linux 服务器与中间件(十三)FRP服务器、客户端安装和测试
linux·服务器·开源
wan_da_ren1 小时前
Docker安装Elasticsearch9.2.1与Kibana9.2.1 保姆教程(带验证版)
运维·docker·jenkins
XH-hui2 小时前
【打靶日记】群内靶机vm1
linux·网络安全
Eric.Lee20213 小时前
ubuntu 安装 Miniconda
linux·运维·python·ubuntu·miniconda
会飞的土拨鼠呀3 小时前
通过Linux进程id找到程序路径
linux·服务器·网络
杭州泽沃电子科技有限公司3 小时前
在线监测:为医药精细化工奠定安全、合规与质量基石
运维·人工智能·物联网·安全·智能监测