battery icon indicating copy to clipboard operation
battery copied to clipboard

Aggregate batteries stats

Open travelerspb opened this issue 4 years ago • 0 comments

Issue #4

Add a Summarize() (*Battery, error) func to aggregate data from multiple batteries.

@KenjiTakahashi not sure tho about some metrics, like State. I followed the simplest logic - higher (and more important) status overrides others, i.e. if a few batteries are full and one is discharging, status will be Discharging

travelerspb avatar May 13 '20 23:05 travelerspb