LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-30-2004, 04:27 PM   #1
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Rep: Reputation: 45
check laptop's battery


Hi i want to check the overall status of a battery... Do u know some shell commands for doing it?
 
Old 06-30-2004, 07:03 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Provided you have acpi working correctly "cat /proc/acpi/battery/BAT0/state"
 
Old 07-01-2004, 01:01 AM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
The command:

APM

Will show you the current battery status (assuming you use APM, of course).
 
Old 07-01-2004, 01:34 AM   #4
alaios
Senior Member
 
Registered: Jan 2003
Location: Aachen
Distribution: Opensuse 11.2 (nice and steady)
Posts: 2,203

Original Poster
Rep: Reputation: 45
Thx for your replies... Do u know what the knoppix 3.3 supports?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not shutdown due to laptop's harddisk? ganninu Linux - Hardware 1 05-27-2005 11:09 AM
[Request] Split Laptop's and Handhelds lewt LQ Suggestions & Feedback 1 12-29-2004 09:58 AM
How to check the remaining battery power in linux icoming Linux - Laptop and Netbook 2 10-14-2004 03:51 AM
Battery monitor not showing battery level? morrolan Linux - Laptop and Netbook 4 03-18-2004 04:42 AM
my laptop's eth0 just took a dump andzerger Linux - Hardware 2 02-22-2004 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration