Implement advanced device battery prediction

This CL implements prediction of advanced device to
let users know what time their advanced device will
be out of battery.

Bug: 153706138
Test: make -j42 SettingsGoogle
Change-Id: Iadf2f1fa425ff5f0fa1abed681d82d13c392db62
This commit is contained in:
Hugh Chen
2020-09-10 15:24:23 +08:00
parent f0cdd9cdb4
commit fa75a469da
4 changed files with 168 additions and 7 deletions

View File

@@ -64,4 +64,15 @@
android:layout_marginStart="4dp"/>
</LinearLayout>
<TextView
android:id="@+id/bt_battery_prediction"
style="@style/TextAppearance.EntityHeaderSummary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:layout_gravity="center_horizontal"
android:gravity="center"
android:orientation="horizontal"
android:visibility="gone"/>
</LinearLayout>