• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / How To Check Battery Status And Health In Linux Ubuntu

How To Check Battery Status And Health In Linux Ubuntu

By Sourabh / June 30, 2022 Category: How To, Ubuntu

How to check battery status using Linux commandline. Here is the terminal command to check battery health in Linux and check battery status in Linux server.

Using upower command and acpi command in Linux one can easily view the information about the system battery in terminal.

upower

upower is a command line tool to get information about the system power source (battery). The command is very easy to use and can display all the available information about the battery connected to the laptop o power source to PC.

Two of the most used command options are:

  1. –monitor: Connect to the UPower daemon and print a line every time a power source is added, removed or changed.
  2. –monitor-detail: Like –monitor but prints the full details of the power source whenever an event happens.

Using upower Command

Here is how to use upower command to get information about the battery in terminal.

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

$ upower -i `upower -e | grep 'BAT'`

$ upower -i $(upower -e | grep BAT) | grep --color=never -E "state|to\ full|to\ empty|percentage"

acpi

acpi – Shows battery status and other ACPI information. acpi Shows information from the /proc or the /sys filesystem, such as battery status or thermal information.

acpi Command Options

There most frequently used acpi command options are:

  1. -b | –battery show battery information
  2. -a | –ac-adapter show ac adapter information
  3. -t | –thermal show thermal information
  4. -c | –cooling show cooling device information
  5. -V | –everything show every device, overrides above options
  6. -s | –show-empty show non-operational devices
  7. -i | –details show additional details if available such as battery capacity information and temperature trip points
  8. -f | –fahrenheit use fahrenheit as the temperature unit instead of default celsius

Using acpi Command

Use the acpi command standalone or using one of the above listed command options.

$ acpi -V

$ acpi -t

You can also use GUI method t

Primary Sidebar

Latest Posts

How Much RAM Is Needed For Ubuntu PC

How To Find Large Files And Directories In Linux Command Line

How To Use Clear Command History In Linux Terminal

Linux Command To Check RAM Size In Ubuntu Terminal In GB

How To Install Proprietary Drivers In Linux Ubuntu Using Terminal

How To Shutdown Linux With A 15 Minute Delay And Message

Free AI Courses With Certificate For Beginners In India

Best AI Plugins For WordPress To Use In 2026

3 Commands To Check USB Connection In Linux Terminal

Linux Terminal Commands for Beginners With Examples

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap