If poor sleep belongs to the syndrome of deficiency of the heart and spleen (weakness of the heart and spleen), one can take Radix Astragali Eleven-Flavored Granules to improve sleep, but should not be taken if it is caused by other reasons. The symptoms of deficiency of heart and spleen include difficulty in falling asleep, waking up with dreams, palpitations, forgetfulness, fatigue, and reduced diet; accompanied by dizziness, lack of facial splendor, tiredness and weakness of limbs, abdominal distension, and loose stools (thin and unformed stools). Ginseng and Astragalus Eleven Flavors Granules is composed of ginseng, astragalus, angelica, tianmu, radix rehmanniae, zedoaria, and other traditional Chinese medicines, which can replenish the spleen and benefit the qi. It is used for weakness and limb weakness caused by spleen qi deficiency. It is recommended that patients with poor sleep use medication under the guidance of a doctor, do not take medication on your own to avoid delaying the condition.