Summary {{$key}}
Device State Summary:
ID |
Name |
Count / Hr |
Seconds / Hr |
Total Num |
Total Duration |
Max Duration |
{{range $id, $stat := $value.SystemStats}}
{{$id}} |
{{$stat.Name}} |
{{printf "%.2f" $stat.NumRate}} |
{{printf "%.2f" $stat.DurationRate}} |
{{$stat.Num}} |
{{$stat.TotalDuration}} |
{{$stat.MaxDuration}} |
{{end}}
{{if $value.PowerStates}}
Low Power States:
{{range $i, $ps := $value.PowerStates}}
Level {{$ps.Level}}: {{$ps.Name}} -- {{$ps.Count}} times, {{$ps.Time}} total
{{if $ps.Voters}}
Voter name |
Total Count |
Total Duration |
{{range $j, $v := $ps.Voters}}
{{$v.Name}} |
{{$v.Count}} |
{{$v.Time}} |
{{end}}
{{else}}
No voters
{{end}}
{{end}}
{{end}}
{{range $brstat := $value.BreakdownStats}}
{{if $brstat.Stats}}
{{$brstat.Metric}}:
ID |
Name |
Count / Hr |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
Seconds / Hr |
{{end}}
Total Num |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
Total Duration |
Max Duration |
{{end}}
{{range $id, $stat := $brstat.Stats}}
{{$id}} |
{{$stat.Name}} |
{{printf "%.2f" $stat.NumRate}} |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
{{printf "%.2f" $stat.DurationRate}} |
{{end}}
{{$stat.Num}} |
{{if and (ne $brstat.Metric "FirstWakelockAfterSuspend") (ne $brstat.Metric "DetailedWakelockSummary")}}
{{$stat.TotalDuration}} |
{{$stat.MaxDuration}} |
{{end}}
{{end}}
{{end}}
{{end}}
{{end}}
{{end}}