* 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>
32 lines
702 B
Plaintext
32 lines
702 B
Plaintext
# 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
|
|
frame: 500 5 14
|
|
frame: 500 10 19
|
|
frame: 500 15 24
|
|
frame: 500 20 29
|
|
frame: 500 25 34
|
|
frame: 500 30 39
|
|
frame: 500 35 44
|
|
frame: 500 40 49
|
|
frame: 500 45 54
|
|
frame: 500 50 59
|
|
frame: 500 55 64
|
|
frame: 500 60 69
|
|
frame: 500 65 74
|
|
frame: 500 70 79
|
|
frame: 500 75 84
|
|
frame: 500 80 89
|
|
frame: 500 85 94
|
|
frame: 500 90 99
|
|
frame: 500 95 99
|
|
frame: 1000 100 100
|