A LED lighting circuit, comprising: an input adapted to receive a time-varying input voltage; a plurality of LED segments (D1 - D4) connected in series and to the input; a switching arrangement (S1 - S4) adapted to selectively bypass at least one LED segment of the plurality of LED segments (D1 - D4) in a plurality of time periods such that in each time period, the forward voltage of a rest of the plurality of LED segments matches with an instantaneous amplitude of the input voltage; and a controller adapted to configure a current modulation scheme of the LED lighting circuit, wherein said current modulation scheme is adapted to determine both - when the switching arrangement (S1-S4) is to act to bypass at least one LED segment in each time period, and - the amplitude of the current flowing through the rest of the plurality of LED segments in each time period; wherein the controller is further adapted to detect a degrading of a component in the LED lighting circuit by detecting a forward voltage rise; implement a first current modulation scheme when no such degrading is detected; and in response to detection of such degrading, implement a second current modulation scheme, wherein said second current modulation scheme is adapted to be different from the first current modulation scheme so as to compensate for an underperformance of the overall lighting circuit caused by said degrading; characterized in that said degrading is leading to an increase in a turning on voltage of one LED segment, and compared to said first current modulation scheme, said second current modulation scheme has a higher voltage threshold at which a corresponding switch in the switch arrangement is adapted to switch to bypass or not bypass said LED segment. an input adapted to receive a time-varying input voltage; a plurality of LED segments (D1 - D4) connected in series and to the input; a switching arrangement (S1 - S4) adapted to selectively bypass at least one LED segment of the plurality of LED segments (D1 - D4) in a plurality of time periods such that in each time period, the forward voltage of a rest of the plurality of LED segments matches with an instantaneous amplitude of the input voltage; and a controller adapted to configure a current modulation scheme of the LED lighting circuit, wherein said current modulation scheme is adapted to determine both - when the switching arrangement (S1-S4) is to act to bypass at least one LED segment in each time period, and - the amplitude of the current flowing through the rest of the plurality of LED segments in each time period; - when the switching arrangement (S1-S4) is to act to bypass at least one LED segment in each time period, and - the amplitude of the current flowing through the rest of the plurality of LED segments in each time period; wherein the controller is further adapted to detect a degrading of a component in the LED lighting circuit by detecting a forward voltage rise; implement a first current modulation scheme when no such degrading is detected; and in response to detection of such degrading, implement a second current modulation scheme, wherein said second current modulation scheme is adapted to be different from the first current modulation scheme so as to compensate for an underperformance of the overall lighting circuit caused by said degrading; characterized in that said degrading is leading to an increase in a turning on voltage of one LED segment, and compared to said first current modulation scheme, said second current modulation scheme has a higher voltage threshold at which a corresponding switch in the switch arrangement is adapted to switch to bypass or not bypass said LED segment. <EOS>