On Wed, 5 May 2004, Liam J. Foy wrote: > I am coding a battery daemon for my laptop in C. When I print the value > of ptr->ai_batt_time (machine/apm_bios.h) it is returning 0. -1 would > incline the device isnt supported, but why is it returning 0 ? Send the full output of "sysctl hw.acpi". Some machines can't detect the battery state while on AC power. -Nate