Issue #15986092: Add power tracking of flashlight.

Also improve drawing of date markers to allow a middle
marker for really looong durations.

Change-Id: I0c12ec9b6de102360d9171627787462dfa58b7ef
This commit is contained in:
Dianne Hackborn
2014-06-30 16:58:52 -07:00
parent 5fc8214555
commit 6fd48e224f
3 changed files with 45 additions and 1 deletions

View File

@@ -150,6 +150,10 @@ public class BatteryEntry {
name = context.getResources().getString(R.string.power_screen);
iconId = R.drawable.ic_settings_display;
break;
case FLASHLIGHT:
name = context.getResources().getString(R.string.power_flashlight);
iconId = R.drawable.ic_settings_display;
break;
case APP:
name = sipper.packageWithHighestDrain;
break;