Linux Command To Check Laptop Battery Health

What command I need to run to check the health of my System 76 laptop battery in Ubuntu or Debian Linux?

You can either use /sys/ file system or command line acpi or upower. You must login as root user. Open the Terminal application and type any one of the following command.

Linux GUI tool to check your laptop battery health

Click on battery icon in the sidebar or top bar right side battery icon. You will get an window as follows:

Fig.01: Linux Laptop power statistics application in action

Linux command to check your laptop battery health

The syntax is:



acpi -ib


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

Sample outputs:

Fig.02: acpi command output

Here is output from upower command:

Fig.03: upower command output

How Do I Get CPU Temperature Data?

How Do I Read Hard Disk Temperature?

See also
  • Man pages: proc(5)

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts