How To Check Laptop Battery Status And Level In Terminal In Linux

8 Responses

  1. Tractorman2011 says:

    Thanks! You might mention that the “V” in “acpi -V” is capitalized. Took me several tries to figure that out.

  2. Rizwan Mohammed says:

    On CentOS how come ‘sudo apt-get install acpi’ will work ??????

  3. buda says:

    complication in simple business !!!!
    cat /sys/class/power_supply/BAT0/capacity
    all for all info
    find /sys/class/power_supply/BAT0/ -type f | xargs -tn1 cat

  4. Alan says:

    You need to run a full command line for seeing the full battery stats in the terminal of the Linux and then automatically the sts will appear from the next line including the battery percentage, voltage, and power.

  5. Van says:

    Very nice; thank you!

Leave a Reply

Your email address will not be published. Required fields are marked *

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