Inserting now returns the BatteryInfo object that was inserted.(useful for its id)