20101018 auto: Homemade digital fuel gauge