Linux mastery : acpi


In this series of mini posts I will teach you a Linux lesson every day, it can be command , tricks , how to. The post will cover for beginner to advanced level. Welcome to Linux terminal.

Follow us and start learning Linux today

acpi

acpi shows battery status, thermal information etc using /proc filesystem. You know the empty battery slots can be hidden, it comes with variety of options such as

  • –battery
  • –ac-adapter, ac adapter information
  • –cooling, cooling information
  • –show-empty , shows non operational devices
  • –everything,
  • –help , manual for the command

Sample usage

acpi --everything
acpi --cooling
acpi --battery

OS like Ubuntu may miss this command can be added using

sudo apt install acpi

Published by

Manoj

A developer,teacher and a blogger obsessed with Python,Dart and open source world from India

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.