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.
Tutorial details
Difficulty level Easy
Root privileges No
Requirements None
Est. reading time 1m

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

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)

🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 1 comment so far... add one

CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
1 comment… add one
  • Jeffry E. Oct 13, 2020 @ 9:45

    Hello, I use upower and it shows me 0W energy-rate, is that a bad thing?

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum