{{define "checkin"}}
Aggregated Checkin Stats:
{{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}} {{with .CheckinSummary}} {{range .}} {{end}} {{end}}
Metric Value ({{index .Filename 0}}) Value ({{index .Filename 1}})
Screen Off Discharge Rate (%/hr) {{printf "%.2f (Discharged: %.f%%)" .ScreenOffDischargeRatePerHr.V .ScreenOffDischargePoints}}
Screen On Discharge Rate (%/hr) {{printf "%.2f (Discharged: %.f%%)" .ScreenOnDischargeRatePerHr.V .ScreenOnDischargePoints}}
Screen On Time (%){{printf "%s (%.2f%%)" .ScreenOnTime.V .ScreenOnTimePercentage}}
Screen Off Uptime{{printf "%s (%.2f%%)" .ScreenOffUptime.V .ScreenOffUptimePercentage}}
Userspace Wakelock Time{{printf "%s (%.2f%%)" .PartialWakelockTime.V .PartialWakelockTimePercentage}}
Kernel Overhead Time{{printf "%s (%.2f%%)" .KernelOverheadTime.V .KernelOverheadTimePercentage}}
Mobile KBs/hr{{printf "%.2f" .MobileKiloBytesPerHr.V }}
WiFi KBs/hr{{printf "%.2f" .WifiKiloBytesPerHr.V }}
Mobile Active Time{{printf "%s (%.2f%%)" .MobileActiveTime.V .MobileActiveTimePercentage}}
Signal Scanning Time{{printf "%s (%.2f%%)" .SignalScanningTime.V .SignalScanningTimePercentage}}
Full Wakelock Time{{printf "%s (%.2f%%)" .FullWakelockTime.V .FullWakelockTimePercentage}}
Interactive Time{{printf "%s (%.2f%%)" .InteractiveTime.V .InteractiveTimePercentage}}
Phone Call Time{{printf "%s (%.2f%%)" .PhoneCallTime.V .PhoneCallTimePercentage}}
Device Idle Mode Enabled Time{{printf "%s (%.2f%%)" .DeviceIdleModeEnabledTime.V .DeviceIdleModeEnabledTimePercentage}}
Device Idling Time{{printf "%s (%.2f%%)" .DeviceIdlingTime.V .DeviceIdlingTimePercentage}}


{{if .CombinedCheckinData.DevicePowerEstimatesCombined}}
Device's Power Estimates:
{{range $i, $ent := .CombinedCheckinData.DevicePowerEstimatesCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Battery (%) Consumed #1 Battery (%) Consumed #2 Battery (%) Consumed
{{.Name}} {{printf "%.2f" $ent.PercentageDiff}}{{printf "%.2f" .Percent}}{{printf "%.2f" .Percent}}
{{end}}
Userspace Wakelocks:
{{range $i, $ent := .CombinedCheckinData.UserspaceWakelocksCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Minimum Duration #2 Minimum Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{if .CombinedCheckinData.SyncTasksCombined}}
SyncManager Syncs:
{{range $i, $ent := .CombinedCheckinData.SyncTasksCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count / Hr #1 Count / Hr #2 Count / Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.CPUUsageCombined}}
CPU Usage By App:
{{range $i, $ent := .CombinedCheckinData.CPUUsageCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Battery Use #1 Battery Use #2 Battery Use
{{.Name}} {{printf "%.2f" $ent.PowerPctDiff}}{{printf "%.2f" .PowerPct}}{{printf "%.2f" .PowerPct}}
{{end}} {{if .CombinedCheckinData.TopMobileActiveAppsCombined}}
Mobile Radio Activity Per App:
{{range $i, $ent := .CombinedCheckinData.TopMobileActiveAppsCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.TopMobileTrafficAppsCombined}}
Mobile Traffic Per App:
{{range $i, $ent := .CombinedCheckinData.TopMobileTrafficAppsCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff MB / Hr #1 MB / Hr #2 MB / Hr #1 Total MB #2 Total MB
{{.Name}} {{printf "%.2f" $ent.MobileMegaBytesPerHourDiff}}{{printf "%.2f" .MobileMegaBytesPerHour}}{{printf "%.2f" .MobileMegaBytesPerHour}}{{printf "%.2f" .MobileMegaBytes}}{{printf "%.2f" .MobileMegaBytes}}
{{end}} {{if .CombinedCheckinData.WifiFullLockActivityCombined}}
WiFi Full Lock Activity Per App:
{{range $i, $ent := .CombinedCheckinData.WifiFullLockActivityCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}
{{end}} {{if .CombinedCheckinData.TopWifiTrafficAppsCombined}}
WiFi Traffic Per App:
{{range $i, $ent := .CombinedCheckinData.TopWifiTrafficAppsCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff MB / Hr #1 MB / Hr #2 MB / Hr #1 MB #2 MB
{{.Name}} {{printf "%.2f" $ent.WifiMegaBytesPerHourDiff}}{{printf "%.2f" .WifiMegaBytesPerHour}}{{printf "%.2f" .WifiMegaBytesPerHour}}{{printf "%.2f" .WifiMegaBytes}}{{printf "%.2f" .WifiMegaBytes}}
{{end}} {{if .CombinedCheckinData.KernelWakelocksCombined}}
Kernel Wakesources:
{{range $i, $ent := .CombinedCheckinData.KernelWakelocksCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.WakeupReasonsCombined}}
Kernel Wakeup Reasons:
{{range $i, $ent := .CombinedCheckinData.WakeupReasonsCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.AppWakeupsCombined}}
App Wakeup Alarms:
{{range $i, $ent := .CombinedCheckinData.AppWakeupsCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff (Count/Hr) #1 Count/Hr #2 Count/Hr #1 Count #2 Count
{{.Name}} {{printf "%.2f" $ent.CountPerHrDiff}}{{printf "%.2f" .CountPerHr}}{{printf "%.2f" .CountPerHr}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.ANRAndCrashCombined}}
App ANRs and Crashes:
{{range $i, $ent := .CombinedCheckinData.ANRAndCrashCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name (App Name : Process Name) Diff ANRs #1 ANRs #2 ANRs Diff Crashes #1 Crashes #2 Crashes
{{.Name}} {{.ANRCountDiff}}{{.ANRCount}}{{.ANRCount}}{{.CrashCountDiff}}{{.CrashCount}}{{.CrashCount}}
{{end}} {{if .CombinedCheckinData.GPSUseCombined}}
GPS Use By App:
{{range $i, $ent := .CombinedCheckinData.GPSUseCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.CameraUseCombined}}
Camera Use By App:
{{range $i, $ent := .CombinedCheckinData.CameraUseCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{if .CombinedCheckinData.FlashlightUseCombined}}
Flashlight Use By App:
{{range $i, $ent := .CombinedCheckinData.FlashlightUseCombined}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{with index $ent.Entries 0}} {{end}} {{with index $ent.Entries 1}} {{end}} {{end}}
Name Diff Sec/Hr #1 Sec/Hr #2 Sec/Hr #1 Total Duration #2 Total Duration Diff Count/Hr #1 Count/Hr #2 Count/Hr #1 Total Count #2 Total Count
{{.Name}} {{printf "%.2f" $ent.SecondsPerHrDiff}}{{printf "%.2f" .SecondsPerHr}}{{printf "%.2f" .SecondsPerHr}}{{.Duration}}{{.Duration}}{{printf "%.2f" $ent.CountPerHourDiff}}{{printf "%.2f" .CountPerHour}}{{printf "%.2f" .CountPerHour}}{{.Count}}{{.Count}}
{{end}} {{end}}