command to check battery life
wwp
subscript at free.fr
Sat Oct 29 06:50:14 UTC 2005
Hello Lovell,
On Sat, 29 Oct 2005 02:02:20 -0400 Lovell Mcilwain <lovell.mcilwain at gmail.com> wrote:
> Is there a way I can type a command and see how much battery life I have?
>
> My battery meter shows 0% even though I can unplug it and have the battery
> working with no problem. I just don't have a way to fix this problem so I
> want to know how I can check the battery level when I unplug it.
Rough: cat /proc/acpi/battery/BAT0/state
If nothing appears, your kernel (acpi part) might lack support for your
hardware.
Some acpi tools may show battery info from command-line :-) (ask
http://freshmeat/ for instance).
Regards,
--
wwp
More information about the fedora-list
mailing list