[ale] Checking battery voltage on laptop
Vaidhyanathan Mayilrangam Gopalan
vaidhy at loonys.net
Tue Feb 15 21:04:55 EST 2005
Read in /proc/acpi/battery/BAT0/info for the first battery and BAT1/info
for the second one (if it exists)
Vaidhy
On Tue, 2005-02-15 at 20:12 -0500, ringo wrote:
> Does anyone know how I can check my battery level on my laptop from
> within my gcc program? I have the power management stuff enabled so I
> have a battery bar on my desktop.
> Thanks
> Ringo
> Using SUSE 9.2 on a Compaq Presario
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
>
--
Vaidhyanathan Mayilrangam Gopalan <vaidhy at loonys.net>
More information about the Ale
mailing list