A power controller comprising: a switching circuit configured to provide electrical power to an inductive or capacitive load, the switching circuit including a first path having a first switch and a second path that is in parallel with the first path prior to the load, the second path including a second switch, the switching circuit being in a pre-charging state when the second path is activated and the first path is deactivated, the switching circuit being in an operational state when the second path is deactivated and the first path is activated; a circuit sensor configured to provide signals that are indicative of a state-of-charge of the inductive or capacitive load; and a processing unit configured to open or close the first and second switches (112, 114) to change the switching circuit between the pre-charging state and the operational state, wherein the processing unit is configured to determine the state-of-charge, SOC, of the inductive or capacitive load based on the signals from the circuit sensor, wherein the processing unit is configured to determine based on the SOC whether to pre-charge the inductive or capacitive load in the pre-charging state or to operate in the operational state, wherein: the processing unit operates the switching circuit in the operational state when the processing unit determines to not pre-charge the inductive or capacitive load based on the SOC being sufficiently high; and the processing unit operates the switching circuit in the pre-charging state when the processing unit determines to pre-charge the inductive or capacitive load based on the SOC not being sufficiently high, and switches the switching circuit from the pre-charging state to the operational state after the SOC has increased sufficiently high, wherein the processing unit operates the switching circuit in the pre-charging state for a time period that is based on the SOC. a switching circuit configured to provide electrical power to an inductive or capacitive load, the switching circuit including a first path having a first switch and a second path that is in parallel with the first path prior to the load, the second path including a second switch, the switching circuit being in a pre-charging state when the second path is activated and the first path is deactivated, the switching circuit being in an operational state when the second path is deactivated and the first path is activated; a circuit sensor configured to provide signals that are indicative of a state-of-charge of the inductive or capacitive load; and a processing unit configured to open or close the first and second switches (112, 114) to change the switching circuit between the pre-charging state and the operational state, wherein the processing unit is configured to determine the state-of-charge, SOC, of the inductive or capacitive load based on the signals from the circuit sensor, wherein the processing unit is configured to determine based on the SOC whether to pre-charge the inductive or capacitive load in the pre-charging state or to operate in the operational state, wherein: the processing unit operates the switching circuit in the operational state when the processing unit determines to not pre-charge the inductive or capacitive load based on the SOC being sufficiently high; and the processing unit operates the switching circuit in the pre-charging state when the processing unit determines to pre-charge the inductive or capacitive load based on the SOC not being sufficiently high, and switches the switching circuit from the pre-charging state to the operational state after the SOC has increased sufficiently high, wherein the processing unit operates the switching circuit in the pre-charging state for a time period that is based on the SOC. the processing unit operates the switching circuit in the operational state when the processing unit determines to not pre-charge the inductive or capacitive load based on the SOC being sufficiently high; and the processing unit operates the switching circuit in the pre-charging state when the processing unit determines to pre-charge the inductive or capacitive load based on the SOC not being sufficiently high, and switches the switching circuit from the pre-charging state to the operational state after the SOC has increased sufficiently high, wherein the processing unit operates the switching circuit in the pre-charging state for a time period that is based on the SOC.