Ubuntu check battery informations

  • List of current device paths :
    upower --enumerate
  • List all information about battery_BAT0 :
    upower -i /org/freedesktop/UPower/devices/battery_BAT0
  • Check path /sys/class/power_supply/BAT0/
    cat /sys/class/power_supply/BAT0/capacity
  • Using acpi :
    -b: The shortened form of –battery and it gives battery details.
    -t: The shortened form of –thermal and shows thermal details.
    -a: The shortened form of –ac-adapter to give ac adapter details.
    -c: The abbreviation of –cooling. It gives information regarding your cooling device.
    -V: Stands for –everything. It produces output about every device connected and overrides other options.

Scroll to Top