Kuan Wang
|
2b93d40683
|
Use the field isFullChargeCycleStart in database to get the last full
charge cycle start and remove the unused SharedPreference.
Test: make RunSettingsRoboTests + manual
Bug: 253553141
Change-Id: I74ef71775fa5d4871077f6d5573467aa5843bc6b
|
2022-11-28 11:27:24 +08:00 |
|
Zaiyue Xue
|
bc1f4798a6
|
Refoactor 2 util functions from DatabaseUtil to BatteyUtils.
Bug: 252407178
Test: presubmit
Change-Id: I393777186cc308298f0a8b76af4672b9012ed681
|
2022-11-17 14:25:10 +08:00 |
|
Kuan Wang
|
45be6bae05
|
Listen ACTION_BATTERY_LEVEL_CHANGED in Settings and fetch usage data
when battery is full charged.
Bug: 253395332
Test: make RunSettingsRoboTests + manually
Change-Id: Ie83e5f319074ff404a600c4eb375fbecad651b6d
|
2022-11-01 06:39:21 +00:00 |
|
Kuan Wang
|
df05a1378b
|
Add hourly period job to fetch battery usage data in Settings.
Bug: 253395332
Test: make RunSettingsRoboTests + manually
Change-Id: I342066a30fed202e5013b8c2554f36d991975c3e
|
2022-11-01 02:05:14 +00:00 |
|
Kuan Wang
|
cbaffa34bc
|
Add functions of SI DatabaseUtils into Settings DatabaseUtils and remove
unused functions.
Bug: 253395332
Test: make RunSettingsRoboTests
Change-Id: I61feee3386d7291f9174acb884d09d7ab8733511
|
2022-10-21 04:48:14 +00:00 |
|
Kuan Wang
|
547df61667
|
Copy DatabaseUtils from SettingsGoogle to Settings and use the new
Settings database.
Bug: 253395332
Test: make RunSettingsRoboTests
Change-Id: Idbe6d71b69b28d344db146d139b4b60e2e7434da
|
2022-10-19 02:20:00 +00:00 |
|
Kuan Wang
|
0a0ba915ca
|
Copy BatterySettingsContentProvider from SettingsIntelligence to Settings and rename it to BatteryUsageContentProvider.
Bug: 253395332
Test: make RunSettingsRoboTests + manually
Change-Id: Ib6c2240cd065f6e29393e13b7231bba7afd2d850
|
2022-10-18 02:26:23 +00:00 |
|