This site is moved to other domain!

You should be automatically redirected in 9 seconds. If not, visit
and update your bookmarks.

Saturday, October 17, 2009

Stumble Upon Toolbar
written by: Viktor Ustijanoski in
[] [] []

How to check battery status on Ubuntu

Don't want to miss a single bit? Subscribe to our RSS Feed!

Ubuntu provides you with the proc filesystem from you can get very useful information’s for your system. If you need info for your battery, you can found at /proc/acpi/battery folder. If you use only one laptop battery you can find info on BATO folder, otherwise there will be several folders according to your number of batteries. So for quick check, open terminal and copy/paste yhe next code into it:

cat /proc/acpi/battery/BAT0/info

You can then see useful information about your battery’s health etc..

For current battery state enter this lines to the terminal:
cat /proc/acpi/battery/BAT0/state

Now you can see how long will the battery last and other useful info. Have fun.

Subscribe to DetectorProDid you enjoy this post? Why not leave a comment below and continue the conversation, or Subscribe to Feed and get articles like this delivered automatically to your Email or feed reader.

Related articles by tags