Method of diagnosis of the power of a control unit of floor