int apm_get_power_status (u_short * status, u_short * bat, u_short * life);
Obtain the current power status from the APM BIOS. We return a status which gives the rough battery status, and current power source. The bat value returned give an estimate as a percentage of life and a status value for the battery. The estimated life if reported is a lifetime in secodnds/minutes at current powwer consumption.