A method, computer program product and device for generating a power signal are provided. In a power distribution system (e.g. PoE), a device (2) (e.g. PD) comprising at least one capacitor (e.g. bulk capacitor) parallel to a load (26) of the device, is powered by a power supply (1) (e.g. PSE). The power supply (1) is arranged for powering the device (2) when at least a minimum current (e.g. MPS) is drawn by the device (2) from the power supply (1). The device (2) determines, by measuring the voltage over the at least one capacitor, whether the current is drawn (partially) from the at least one capacitor. In which case the device (2) is controlled to draw current such that at least a minimum current is drawn from the power supply (1) and the power supply (1) remains powering the device (2).