ykhung
|
b593e00af0
|
Format BatteryEntry and BatteryDiffEntry class
Bug: N/A
Test: make RunSettingsRoboTests
Change-Id: I14e2ef4c455209e58edc5ccdbe064f469815cccd
|
2022-04-17 06:23:47 +00:00 |
|
ykhung
|
9db43b8f76
|
Add new constructor to create BatteryHistEntry from interpolation
https://matthew-brett.github.io/teaching/linear_interpolation.html
Bug: 184807417
Test: make SettingsRoboTests
Change-Id: I6dbdb3db8243e40bc54bde3aab7157fda2719de9
|
2021-05-06 00:42:14 +08:00 |
|
ykhung
|
973212adf7
|
Rename variables and refine the format style from ag/14346184
Bug: 14346184
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Ie87f2dba2b87781ed5071adbc6f8a2aa45d1fd53
|
2021-05-04 11:59:07 +08:00 |
|
Dmitri Plotnikov
|
6417493b29
|
Replace uses of SystemBatteryConsumer with aggregate BatteryConsumers
Bug: 186006876
Test: make RunSettingsRoboTests
Test: make RunSettingsGoogleRoboTests
Change-Id: I2e240aa15c87b4b9dcbe993b4b0b1111285ec3ff
|
2021-05-03 11:01:36 -07:00 |
|
ykhung
|
0c7e50cb43
|
Add new field for data interpolation usage
reference the decription in cl/371645876
Bug: 184807417
Test: make SettingsRoboTests
Change-Id: I944399dc205cad9b96fe22e82e4c651b4ccc4e37
|
2021-05-03 18:31:27 +08:00 |
|
ykhung
|
70bef1049f
|
Add data validator to verify and log abnormal queried history data
Bug: 177406865
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I331922cf0b0e946066a72eb0bfcf9885dde9a7ce
|
2021-04-21 02:52:20 +00:00 |
|
ykhung
|
4752ea17b9
|
Refine startBatteryDetailPage method to support history data
Bug: 177406865
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Iee3b6b353c4f92bdad37fac55adad58b4f205bf6
|
2021-04-19 14:06:55 +00:00 |
|
ykhung
|
b2674eb5be
|
Add cache mechanism to improve icon and label loading performance
Bug: 185207505
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I73dba5e40783f9ef4cfc0c4c33ea56b12754535d
|
2021-04-15 02:20:14 +00:00 |
|
ykhung
|
aeb5b95705
|
Add a method to calculate battery usage diff results from history
Bug: 184807417
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: If613c5cfd7e00e1883107385d3d8552774378cd7
|
2021-04-13 00:25:17 +08:00 |
|
ykhung
|
318cc18f25
|
Add getBatteryHistory method to query data from SettingsIntelligence
Bug: 184807417
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: Idd640f8f8b07311fafc76f7b61c96c453ae7b604
|
2021-04-09 01:31:32 +00:00 |
|
ykhung
|
b350c66d97
|
Move the battery components from SettingsGoogle to Settings
Bug: 183921876
Test: make SettingsRoboTests
Test: make SettingsGoogleRoboTests
Change-Id: I47cbba1cbfd6cb17745e7aaaf56b22e3c9dcd30e
|
2021-04-07 12:09:54 +08:00 |
|