Include charging losses explicitly
Energy drawn from the grid can be higher than energy stored in the battery.
Use an efficiency assumption
The wall-energy calculator makes this assumption visible.
Do not treat it as universal
Charging efficiency can vary by equipment and conditions.
Compare scenarios
Try more than one efficiency value if you do not have measured data.