An electronic device, which can charge a battery selected from a plurality of batteries and can drive the battery as a power feeding source, includes a control unit and a display unit. When a remaining power of a second battery that does not correspond to a first battery selected as a battery to be charged or the power feeding source among the plurality of batteries is higher than or equal to a predetermined threshold value, the control unit causes the display unit to display a remaining power of the first battery from among the remaining power of the first battery and the remaining power of the second battery, and when the remaining power of the second battery is lower than the threshold value, the control unit causes the display unit to display the remaining power of the first battery and the remaining power of the second battery.