Check power-saving state for drawing the battery icon on the battery page. It will draw red + icon as status-bar did when battery saver is on. Change-Id: Iee4a17c8e5cb3c8ee5d978eb23e3980597d09a1c Fixes: 77150820 Test: Manual test, atest BatteryMeterViewTest BatteryHeaderPreferenceControllerTest
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.