On Sat, Oct 27, 2007 at 12:32:28PM +0100, Iain Hibbert wrote: > battstate(api->battery_state)); > + > + if (dopct && domin && api->minutes_left == 0) > + domin = FALSE; > + this is bogus, 0 is a valid value for `minutes_left', why hiding it ? - Arnaud