When battery cannot make to usual charging time, this tip would suggest user to turn on battery saver. This tip has two visible state(NEW, HANDLED) and display different information. This cl also adds an action to turn on the battery saver. Bug: 70570352 Test: RunSettingsRoboTests Change-Id: I0e96554df12a0d6508c27174e16d8dca7f4e1fce
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.