Smart Battery case