A method comprising receiving a first indication indicating a disconnection between a connector and an infusion cannula, determining a duration of the disconnection, determining, based on the determined duration of the disconnection, an amount of infusion fluid not delivered because of the disconnection between the connector and the infusion cannula, and providing a second indication indicating the amount of infusion fluid not delivered.