I wonder if micro fluctuations in battery output voltage and current (due to manufacturing variations) could be used to 'fingerprint' a battery. Encrypted transmission of this fingerprint between the battery chip and the OS = invalidate the battery if the fingerprint suddenly changes.