[FL-905] Add battery health state monitoring in power app (#358)

* add battery health reading from gauge
* add battery health reading to api-hal-power
* update battery health in power application

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-03-02 19:07:26 +03:00
committed by GitHub
parent 38011e88f3
commit cfa76f19d0
8 changed files with 30 additions and 5 deletions

View File

@@ -22,6 +22,7 @@ typedef struct {
float temperature_gauge;
uint8_t charge;
uint8_t health;
} PowerInfoModel;
void power_info_draw_callback(Canvas* canvas, void* context);