Linux Check Laptop battery status from Console / Terminal

Tuesday, 15th September 2009

I needed to have a quick way to check my battery status via terminal and I googled around looking
for a solution. I found the following website explaining in a pretty good way “How to check your battery status in Console”.
.Just like the blog explains the proper way to do that in Linux is via the acpi command. In case if you don’t have, yet the commandplease install it.
1. The fastest way to check the laptop battery status is via: $ acpiThe output would be something like this:Battery 1: discharging, 91%, 02:00:09 remaining2. Check laptop battery temperature:$ acpi -t3. Check laptop battery AC Power Status$ acpi -a4. Check everything related to acpi$ acpi -V
Another possible way to check for your notebook battery status from console in Linux is via:
acpitool
1. Command to show general information for battery status:$ acpitool2. For detailed battery information use:$ acpitool -B add “-v” for verbose output3. Show information about AC power.$ acpitool -a
Some of the other possible ways to check your battery charge status via console are either via: yabs ( Yet Another Battery Status ) script or via:
cat /proc/acpi/battery/BAT0/state orcat /proc/acpi/battery/BAT0/info
END—–

Share this on:

Download PDFDownload PDF

Tags: , , , , ,

9 Responses to “Linux Check Laptop battery status from Console / Terminal”

  1. laptop says:
    Firefox 3.8 Firefox 3.8 Ubuntu 9.25 Ubuntu 9.25
    Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.0.2) Gecko/2008092313 Ubuntu/9.25 (jaunty) Firefox/3.8

    I love this site. Maybe you could tell me how I can keeping up to date with it? I feel I should let you know I discovered your website through Bing.

    View CommentView Comment
  2. Yesenia Seilhymer says:
    Internet Explorer 8.0 Internet Explorer 8.0 Windows 7 x64 Edition Windows 7 x64 Edition
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; Media Center PC 6.0; InfoPath.2; MS-RTC LM 8)

    Nice introduce! I recently have new choice to purchase new laptop battery equipment.I have new laptop and I wanted laptop battery .

    View CommentView Comment
  3. comet says:
    Firefox 3.6.8 Firefox 3.6.8 Windows XP Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; tr; rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)

    thanks for sharing

    View CommentView Comment
  4. Jacob Schlieper says:
    Firefox 3.8 Firefox 3.8 Ubuntu 9.25 Ubuntu 9.25
    Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.0.2) Gecko/2008092313 Ubuntu/9.25 (jaunty) Firefox/3.8

    Hello, this is unquestionably a principallyoutstanding blog post. In concept I’d liketo be able to be able to produce like this as well – taking time and real energy to create a great post.!. but what can I say.!!!. I procrastinate alot and never appear to obtain something done. Thank You

    View CommentView Comment
  5. trial order says:
    Internet Explorer 7.0 Internet Explorer 7.0 Windows XP Windows XP
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)

    Wonderful job right here. I truly enjoyed what you had to say. Keep heading because you surely bring a new voice to this subject. Not many people would say what youve said and still make it interesting. Properly, at least Im interested. Cant wait to see more of this from you.

    View CommentView Comment
  6. Booker Prophit says:
    Firefox 3.5.3 Firefox 3.5.3 Windows XP Windows XP
    Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)

    I have discovered some new items from your website about computers. Another thing I have always thought is that computer systems have become a specific thing that each family must have for some reasons. They supply you with convenient ways in which to organize homes, pay bills, search for information, study, hear music and perhaps watch shows. An innovative technique to complete these types of tasks is a laptop computer. These computer systems are portable ones, small, robust and portable.

    View CommentView Comment
  7. Ramiro Whitesinger says:
    Firefox 3.8 Firefox 3.8 Ubuntu 9.25 Ubuntu 9.25
    Mozilla/5.0 (X11; U; Linux i686; it-IT; rv:1.9.0.2) Gecko/2008092313 Ubuntu/9.25 (jaunty) Firefox/3.8

    Thanks for sharing your ideas listed here. The other point is that any time a problem develops with a laptop or computer motherboard, folks should not take the risk associated with repairing the item themselves for if it is not done properly it can lead to permanent damage to the whole laptop. It will always be safe just to approach your dealer of that laptop with the repair of its motherboard. They have technicians who’ve an experience in dealing with laptop computer motherboard issues and can make right analysis and accomplish repairs.

    View CommentView Comment

Leave a Reply

CommentLuv badge