added battery check on loop, if battery low it doesn't turn the radio on immediately and instead sleeps for a period of time to allow further charging. Partial attempt to avoid brownout loops.