Web Design

Categorized | cli, Hardware, System

Tags : ,

Check your laptop battery in Linux

If you run Linux off a laptop, you might want to check your battery status alt least once a year:

grep -F capacity: /proc/acpi/battery/BAT0/info

This will output something like

design capacity:         7800 mAh
last full capacity:      6414 mAh

Author Profile

T4L ;

Other posts by

Author's web site



Are you satisfied with this blog?
Why not subscribe our RSS Feed? you will always get the latest post.


2 Comments


  1. That was a nice tip. But is there any way by which I can rectify if there is any problem?

    1
  2. T4L

    When it comes to batteries, the only thing you can do if they fail is change them. I had a power spike almost two years ago, fried my laptop’s battery. Had to buy a new one. Other than that, I can’t imagine what other problems could arise.
    BTW: here’s two other useful tips for laptop batteries:

    user@laptop:~$ acpi -t
    Battery 0: Full, 100%
    Thermal 0: ok, 44.5 degrees C
    user@laptop:~$ acpi -V
    Battery 0: Full, 100%
    AC Adapter 0: on-line
    Thermal 0: ok, 41.5 degrees C
    Cooling 0: Processor 0 of 10
    Cooling 1: Processor 0 of 10

    2

1 Trackback(s)

  1. 13 01 2009 : CLI to check laptop battery condition « Linux & Stuff

Leave A Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>