Docking assembly for charging a battery of an electronic device, in particular a robot, comprising a first docking element and a second docking element, wherein when the first docking element docks to the second docking element, - a concave recess of the first docking element is configured to positively fit into a convex protrusion of the second docking element in a direction of a center axis of the concave recess, - at least one electrical contact part integrated into a concave surface of the concave recess electrically connects to at least one electrical contact part integrated into a convex surface of the convex protrusion, the docking assembly characterized in that - a second surface of the first docking element is separated from the concave surface by means of a rim encircling the concave recess, and is configured to positively fit to a second surface of the second docking element in a direction of the center axis, - at least one electrical contact part integrated into the second surface of the first docking element electrically connects to at least one electrical contact part integrated into the second surface of the second docking element, and wherein the first docking element comprises an elastic element with a geometry adapted to swivel the concave recess around a pivot point adapted for the second docking element to dock to the first element with an angle α to the center axis, adapted to compensate for the misalignment of the second docking element. wherein when the first docking element docks to the second docking element, - a concave recess of the first docking element is configured to positively fit into a convex protrusion of the second docking element in a direction of a center axis of the concave recess, - at least one electrical contact part integrated into a concave surface of the concave recess electrically connects to at least one electrical contact part integrated into a convex surface of the convex protrusion, the docking assembly characterized in that - a second surface of the first docking element is separated from the concave surface by means of a rim encircling the concave recess, and is configured to positively fit to a second surface of the second docking element in a direction of the center axis, - at least one electrical contact part integrated into the second surface of the first docking element electrically connects to at least one electrical contact part integrated into the second surface of the second docking element, and - a concave recess of the first docking element is configured to positively fit into a convex protrusion of the second docking element in a direction of a center axis of the concave recess, - at least one electrical contact part integrated into a concave surface of the concave recess electrically connects to at least one electrical contact part integrated into a convex surface of the convex protrusion, the docking assembly characterized in that - a second surface of the first docking element is separated from the concave surface by means of a rim encircling the concave recess, and is configured to positively fit to a second surface of the second docking element in a direction of the center axis, - at least one electrical contact part integrated into the second surface of the first docking element electrically connects to at least one electrical contact part integrated into the second surface of the second docking element, and wherein the first docking element comprises an elastic element with a geometry adapted to swivel the concave recess around a pivot point adapted for the second docking element to dock to the first element with an angle α to the center axis, adapted to compensate for the misalignment of the second docking element.