added battery drawing