This sensor checks the discharge rate of a standing battery, this information is then used by the ECU to adjust the rate of charge of the "worn" or "new" battery.
Without it - the ecu keeps on charging it at a default higher rate shortening the effective battery life.
SO.
dont let idiots work on your car. If you are paying for their service, expect nothing short of perfect.