Searched refs:timeOnBattery (Results 1 – 2 of 2) sorted by relevance
64 long timeOnBattery = 0, screenOffTime = 0;72 timeOnBattery = NumberFormattingUtil.getMs(78 detailedInfo.setTimeOnBattery(timeOnBattery);88 detailedInfo.setScreenOnTime(getScreenOnTime(timeOnBattery, screenOffTime));96 private long getScreenOnTime(long timeOnBattery, long screenOffTime) {97 if (timeOnBattery > screenOffTime) {98 return (timeOnBattery - screenOffTime);
49 public void setTimeOnBattery(long timeOnBattery) { in setTimeOnBattery() argument50 mTimeOnBattery = timeOnBattery; in setTimeOnBattery()