My 2016 ICE car's "miles left" meter is accurate to +/- 2 miles from the moment I top up the tank (80% highway driving, 20% hilly city and rolling country roads).
IMO, accurately telling the vehicle operator how many miles of juice you have left is a KPI, as it informs when you'll need to plan for refueling.
Having driven an EV for a few weeks in identical conditions, this inaccuracy is probably the major contributor to "range anxiety". I have no idea whether I'll need to recharge in 60 miles or in 25 miles, and that's totally unacceptable in most parts of the US (where there aren't available chargers every 5 miles of your trip).