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. I would expect your best bet would be to look at the kernel module source that deals with acpi and/or apm. -- Until later, Geoffrey