LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   How to check the remaining battery power in linux (http://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/how-to-check-the-remaining-battery-power-in-linux-241743/)

icoming 10-12-2004 11:41 AM

How to check the remaining battery power in linux
 
I use Fedora Core1.
But I don't know how to get the information about my remaining battery power.
What tool should I use?

christhom 10-12-2004 12:52 PM

since you haven't actually given us any hardware info, it's impossible to say precisely. There are several ways. try

cat /proc/acpi/battery/BAT0/state
cat /proc/acpi/battery/BAT0/info

icoming 10-14-2004 04:51 AM

My computer use APM.
But I have another question:
when my computer is charging,the command 'apm' shows me 'AC on-line'.
How do I know the remaining power of my battery.


All times are GMT -5. The time now is 08:14 PM.