Linux: Check Battery Status Command

by on January 21, 2003 · 0 comments· LAST UPDATED January 21, 2014

in , ,

I am new CentOS Linux user and using it on Dell laptop. How can I check check battery status using X terminal on CentOS or Debian/Ubuntu Linux?

You need to use any one of the following command to find out battery information for Linux powered laptop.

Tutorial details
DifficultyEasy (rss)
Root privilegesNo
RequirementsNone
Estimated completion time1m

Howto check battery status?

Open the Terminal and type the following command:

acpi

OR

acpi -i -b

Sample outputs:

Fig.01: Showing acpi battery status on Linux

Fig.01: Showing acpi battery status on Linux

Use upower command to get battery status

On the latest version of Linux try:

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

Sample outputs:

Fig.02: Displaying battery info using upower

Fig.02: Displaying battery info using upower

Related media



(Video 01: Linux Check Battery Status Using Terminal Command Line )

How Do I Get CPU Temperature Data?

How Do I Read Hard Disk Temperature?

See also
TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 0 comments… add one now }

Leave a Comment

Tagged as: , ,

Previous Faq:

Next Faq: