summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2015-08-18 17:33:00 -0700
committerDianne Hackborn <hackbod@google.com>2015-08-18 17:33:00 -0700
commit865b79b43b75361fceb3aa1c99ad6f6e7c90e6ac (patch)
tree351aed4f65ba6d0e1546770854aebc090378689e /services
parent886e7a63b122a30c69c663d32e3e5f880a07593e (diff)
downloadframeworks_base-865b79b43b75361fceb3aa1c99ad6f6e7c90e6ac.zip
frameworks_base-865b79b43b75361fceb3aa1c99ad6f6e7c90e6ac.tar.gz
frameworks_base-865b79b43b75361fceb3aa1c99ad6f6e7c90e6ac.tar.bz2
Fix issue #23326715: Clarify --checkin/-c options in batterystats
Change-Id: I3f026447ba7c6d2c3f9ef065269c31a78cf73512
Diffstat (limited to 'services')
-rw-r--r--services/core/java/com/android/server/am/BatteryStatsService.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/am/BatteryStatsService.java b/services/core/java/com/android/server/am/BatteryStatsService.java
index d0f68f0..9bf4f5f 100644
--- a/services/core/java/com/android/server/am/BatteryStatsService.java
+++ b/services/core/java/com/android/server/am/BatteryStatsService.java
@@ -975,7 +975,9 @@ public final class BatteryStatsService extends IBatteryStats.Stub
pw.println("Battery stats (batterystats) dump options:");
pw.println(" [--checkin] [--history] [--history-start] [--charged] [-c]");
pw.println(" [--daily] [--reset] [--write] [--new-daily] [--read-daily] [-h] [<package.name>]");
- pw.println(" --checkin: format output for a checkin report.");
+ pw.println(" --checkin: generate output for a checkin report; will write (and clear) the");
+ pw.println(" last old completed stats when they had been reset.");
+ pw.println(" --c: write the current stats in checkin format.");
pw.println(" --history: show only history data.");
pw.println(" --history-start <num>: show only history data starting at given time offset.");
pw.println(" --charged: only output data since last charged.");