App 2.10.1: show negative usage while recuperating
Net regeneration over the window (or the trip) used to hide both estimates behind "needs a few minutes of driving". It is a real reading: the usage now shows as negative kWh/100 km, and the range as "> 999 km" with "while recuperating" beneath it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QLJfZQZeAKAwSqViTmLzki
This commit is contained in:
@@ -1041,7 +1041,7 @@ public class MainActivity extends AppCompatActivity {
|
||||
// Coasting at speed costs almost nothing, which would read as thousands of km.
|
||||
range.setText(e.rangeKm > 999 ? getString(R.string.range_over, 999)
|
||||
: String.format(java.util.Locale.US, "%.0f km", e.rangeKm));
|
||||
rangeNote.setText("");
|
||||
rangeNote.setText(e.kwhPer100Km <= 0 ? getString(R.string.range_recuperating) : "");
|
||||
usage.setText(getString(R.string.range_consumption, e.kwhPer100Km));
|
||||
usageNote.setText(basis);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user