Re: command to check battery life

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2005-10-29 at 08:50 +0200, wwp wrote:

> 
> Rough: cat /proc/acpi/battery/BAT0/state
> 
> If nothing appears, your kernel (acpi part) might lack support for your
> hardware.

or on older laptops (like mine) -

cat /proc/apm 

which produces:

1.16ac 1.2 0x03 0x01 0x00 0x01 97% -1 ?

The 97% is the battery charge.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux