Battery options cleanup [1/2]
previously there was some logic in the Settings part that was setting text percentage style
even for the hidden style option to load the needed values in BatteryMeterView.
That made the code really hard to read and understand, and needed an additional system setting value.
Now we move the proper logic to BatteryMeterView so there's no confusion and possible glitches due to settings preferences loading,
This commit also fixes at least one glitch: while charging, set hidden style, then exit from battery options menu, then enter it again.
Before the commit it was setting the text style back.
Change-Id: Ic56196870427d11895e2d9e79413d0fcd673b7d3
2 files changed