added radio sleep and wake up for when running on battery