implement Battery Indicator