User Tools

Site Tools


linux:centos:check-battery-status-command-line

Check the battery status from command line

upower -i `upower -e | grep 'BAT'`
native-path:            BAT1
  vendor:               Simplo
  model:                DELL 4DMNG2CD
  serial:               0C28
  power supply:         yes
  updated:              Thu 23 Mar 2023 12:07:02 PM EET (119 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              13.2978 Wh
    energy-empty:        0 Wh
    energy-full:         14.6409 Wh
    energy-full-design:  66.6 Wh
    energy-rate:         16.095 W
    voltage:             11.212 V
    time to empty:       49.6 minutes
    percentage:          90%
    capacity:            21.9833%
    icon-name:          'battery-full-symbolic'
linux/centos/check-battery-status-command-line.txt · Last modified: 2023/07/04 19:36 by 127.0.0.1