charger: Improve lineage charger
* Display charging level in percent and update graphics for it * Use lineage teal as the main color and red for low charging level * Update battery fail to match new style * Define battery fail file to actually use our custom image Change-Id: I6907da5116f6bbd1788902b177ed999c1568815c Signed-off-by: Chippa-a <bagirovvusal99@gmail.com>
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
# animation: num_cycles, first_frame_repeats, animation_file
|
||||
animation: 7 1 charger/battery_scale
|
||||
|
||||
# percent_display: text_percent_pos_x, text_percent_pos_y, color_r, color_g, color_b, color_a, font_file
|
||||
percent_display: c c 255 255 255 255 charger/percent_font
|
||||
|
||||
fail: charger/battery_fail
|
||||
|
||||
# frame: disp_time min_level max_level
|
||||
frame: 500 0 4
|
||||
frame: 500 0 9
|
||||
@@ -23,4 +28,4 @@ frame: 500 80 89
|
||||
frame: 500 85 94
|
||||
frame: 500 90 99
|
||||
frame: 500 95 99
|
||||
frame: 1000 100 100
|
||||
frame: 1000 100 100
|
||||
|
Reference in New Issue
Block a user