[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:
gornekich
2022-01-03 01:52:45 +03:00
committed by GitHub
parent 7522b111c2
commit 2cbf99e15a
10 changed files with 187 additions and 22 deletions

View File

@@ -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");