Quicksettings: Update all of the battery tile, not just mModel refresh

Change-Id: I9a5dfb0d13245c8151e24ddec2cf5c6636bc4580
Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Quicksettings: Fix battery tile showing 0% in certain conditions

Battery tile would show 0% sometimes because
the callback isn't sent until battery was updated.

Instead we store state via global variables and force
the first update.

Also includes simplification of code.

Change-Id: Ia346c883308cbdab5a7cccdbd579e4d605b831e8
Signed-off-by: Evan Anderson <evan@thelinuxman.us>
Make the "hidden battery" still appear in QS

While the hidden battery indicator mode implemented in the Settings
application should only hide the indicator in the status bar, it also
happens to hide it inside the QS tile for the battery which in turn
leaves an ugly UI. This commit provides a workaround by specifying
in which cases the indicator is being used for QS and providing a
special case for that.

Change-Id: Iede5dedfc90343d5b9f768aefc4a53b2aa56a1da

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/QuickSettingsBasicBatteryTile.java
SystemUI: Make percentage appear for hidden batt

This commit makes the battery percentage appear in QS when the user
chooses the "hidden battery" option as the battery style. Prior to
this commit, the same battery style was used for the QS tile just
without the percentage indicator. This means no major changes are
being introduced but the usability is being improved as the user
can glance at the QS tile to see the exact percentage instead of
being forced to open the linked Settings page.

Fixes AOSPA-687.

Change-Id: I2131332f2639721f99e149d3add0eb2877b4debe