Phone shows it’s being charged but the battery percentage not increasing

Pretty much just the title. For the past two nights I’ve used my MagSafe charger on my night stand and the phone will show it’s charging, but when I wake up the battery has not increased. Even weirder is the phone shows it was on the charger when I go to battery settings. Has anyone else had this problem?

Pretty much just the title. For the past two nights I’ve used my MagSafe charger on my night stand and the phone will show it’s charging, but when I wake up the battery has not increased. Even weirder is the phone shows it was on the charger when I go to battery settings. Has anyone else had this problem?