threshold value with the result that the energy supply device 100 changes to its active state in order to automatically supply the connected consumer 401 with energy the connected consumer 401 may be an electrical device a motor a plc consumer programmable logic controller an industrial installation a device which can be mounted on top hat rails a control cabinet or another electrical consumer the connected consumer can be operated with dc voltage or with ac voltage fig5 shows a schematic diagram for the sequence of the method 500 for operating an energy supply device 100 the method 500 for operating the energy supply device 100 first of all comprises sensing 501 a current amplitude of the output current 601 of the energy supply device 100 by means of the measuring assembly 101 the sensed current amplitude of the output current 601 is then compared with settable or prestored current threshold values after comparing 503 with a first current threshold value i 1 and a second current threshold value i 2 either the output voltage 603 is reduced 505 or the output voltage 603 is increased 507 depending on the result of the comparison 503 if the energy supply device 100 is in its first operating state 605 its active state in which the consumer s 401 connected to the energy supply device 100 are supplied with energy the energy supply device 100 changes from its first operating state 605 to its second operating state 607 if a current threshold value which is below a first current threshold.