The disclosure proposes a method performed in an electronic device for minimizing downtime in operation of a door system. The method comprising obtaining a door system identification information, followed by obtaining a status pattern associated with the operation of the door system associating the obtained status pattern with the door system identification information. The method is determining if the obtained status pattern is associated with any of at least one reference status pattern, by comparing the obtained status pattern with the at least one reference status pattern. This is then followed by associating the determined reference status pattern with the door system identification information and generating a door maintenance information.