Factor out preference-in-storage check to overridable method.

Change-Id: I2fff3192802f8a180330fda66388eda394334a5a
Revert "status bar: battery level text"

This reverts commit 85dd1bf4cb77b9dee0e6eeb3f15bd876205468ca.