Prep work for battery status in button bar.