An electronic device having a novel structure is provided. A battery is provided in each component of an electronic device, whereby the electronic device includes two batteries. The electronic device including the two batteries and a display portion that can be called a flexible display and has a plurality of foldable portions is provided as a novel device.