[FL-2019] Battery test application (#940)
* Power: rework API * Applications: introduce battery test application * Power: fix typo * Desktop: cleanup merge artifacts Co-authored-by: Aleksandr Kutuzov <alleteam@gmail.com>
This commit is contained in:
@@ -268,9 +268,7 @@ static StorageAnimation*
|
||||
animation_storage_fill_animation_list(&animation_list);
|
||||
|
||||
Power* power = furi_record_open("power");
|
||||
PowerInfo info;
|
||||
power_get_info(power, &info);
|
||||
bool battery_is_well = power_is_battery_well(&info);
|
||||
bool battery_is_well = power_is_battery_healthy(power);
|
||||
furi_record_close("power");
|
||||
|
||||
Storage* storage = furi_record_open("storage");
|
||||
|
Reference in New Issue
Block a user