In the absence of a pre-agreed/fixed price most minicab drivers will charge based on a combination of distance/time measured using the vehicles trip-meter/odometer and a clock. That's not much different to what the Uber app is doing in (surge multiplier excepted).