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
DifficultyEasy (rss)
Root privilegesNo
RequirementsNone
Time1m

ADVERTISEMENTS

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

OR

acpi -ib

OR

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

Sample outputs:

Fig.02: acpi command output

Fig.02: acpi command output

Here is output from upower command:

Fig.03: upower command output

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 SysAdmin, Linux/Unix, Open Source/DevOps topics:
CategoryList of Unix and Linux commands
File Managementcat
FirewallCentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig 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 VPNCentOS 8 Debian 10 Firewall Ubuntu 20.04

ADVERTISEMENTS
0 comments… add one

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre>, <code>...</code> and <kbd>...</kbd> for code samples.