A Proof-of-Concept Battery Management System