I think we don't need to hard code the zIndex here. Instead of hard coding, we can create a css class, maybe called low-battery-15-percent which contains z-index: 999 and add that class to lowBatteryInfo class list.