commit | 06b8092fdba6ee2db50fd7d8660ba980ce7c2010 | [log] [tgz] |
---|---|---|
author | Zaiyue Xue <xuezaiyue@google.com> | Mon Apr 03 17:24:20 2023 +0800 |
committer | Zaiyue Xue <xuezaiyue@google.com> | Fri Apr 07 19:49:52 2023 +0800 |
tree | aac2609f1c67d1948f1b3467372ee7c205c5b03c | |
parent | 968dfc9c2e2751ce4841467f38596592f90c00d3 [diff] |
Refactor function to support slot size not must be two. The function insertHourlyUsageDiffDataPerSlot() only supports the slot has two-hour data now. This assumption is not neccessary. Refactor this so in my next cl ag/22379150, the last-full-charge slot and now slot could have only one-hour data. Bug: 271214926 Test: manual Change-Id: I57f7898ce1c92b8849baf9a44314455adf0098f4