The invention relates to a lighting system (1) comprising a lighting device (6) having a first USB-PD connector and a power providing unit, which is preferentially a component of a power providing device (4) and which is operable in different operational modes. A second USB-PD connector is electrically connected with the power providing unit and adapted to be connected with the first USB-PD connector for generating a USB-PD connection (5) via which power and optionally also data are receivable by the lighting device. A connection feature value being indicative of a feature of the connection is determined and the operational mode of the power providing unit is controlled depending on the determined connection feature value. This allows for a reaction on the current connection situation. For instance, if the connection feature value indicates a relatively low thermal coupling, the power providing unit may provide less power.