dashboard: shorten runtime label to ETR
This commit is contained in:
1 parent
b1c1bfcb03
commit
4d2a70df51
2 files changed
+2
-2
No files matched your search
@@ -513,7 +513,7 @@ static void update_overview_widgets()
|
||||
float remaining_to_full_ah = status_model.capacity_ah - status_model.remaining_ah;
|
||||
estimate_text = "Full in " + format_hours(remaining_to_full_ah / status_model.current);
|
||||
} else if (status_model.current < -0.05 && status_model.remaining_ah > 0.0) {
|
||||
estimate_text = "Runtime " + format_hours(status_model.remaining_ah / abs(status_model.current));
|
||||
estimate_text = "ETR " + format_hours(status_model.remaining_ah / abs(status_model.current));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user