Fix battery pop-up warning showing even when not selected to.

Change-Id: Ib6dc27cbb2c1e4d064f15d10503cc126e6e9e806