design and construction of a battery level indicator