The present disclosure discloses a stapling device, comprising an activation unit configured to sense at least one of a movement of the stapling device, a position of a switch or a signal from a timer. There is a detection unit that is activated based on a signal from the activation unit to generate an input data. The stapling device further comprises a processing unit to determine number of pins in the stapling device, by comparing the input data with a pre-configured data and a display unit interfaced with the processing unit, to indicate status of the pins in the stapling device, wherein the status is based on the determined number of pins in the stapling device. Thus the stapling device of the present disclosure identifies the exhaustion of pins and accordingly enables timely replenishment of the stapling device with pins. FIG.2