Search > {% fnstr %}

Sorry, no more results found...
Searching...

Laptop Battery Status from Linux Terminal

| qutuphane

Using upower

upower -i /org/freedesktop/UPower/devices/battery_BAT0

Sample Output :

  native-path:          BAT0
  vendor:               ASUSTeK
  model:                ASUS Battery
  power supply:         yes
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              37,364 Wh
    energy-empty:        0 Wh
    energy-full:         37,364 Wh
    energy-full-design:  48,856 Wh
    energy-rate:         0,369 W
    voltage:             11,55 V
    time to empty:       4,2 days
    percentage:          100%
    capacity:            76,4778%
    technology:          lithium-ion
    icon-name:          'battery-full-symbolic'

qutuphane © 2019