State_of_charge_meter ( was: How to increase accuracy...)

What happens to your reference if the supply voltage dips?