package
0.0.0-20170519220231-d2356ba4fd5f
Repository: https://github.com/google/battery-historian.git
Documentation: pkg.go.dev
# Functions
ComputeDelta takes two protos and outputs a third one that contains the difference between the two.
ComputeDeltaFromSameDevice takes two Batterystats protos taken from the same device and outputs a third one that contains the difference between the two, including fields that can only be subtracted in special cases (same device and same start clock time).
NormalizeStats takes in a proto and normalizes it by converting any absolute value to value/TotalTime.