The problem is that your area does not provide 5G . Even if it's a 5G phone and you have a 4G sim but, if 5G is available in your area then your 4G sim will also work in 5G only I'd you have 5G phone
You should enable the ''Protect battery " feature the the charging will be paused after it reaches 85% . It's a pretty helpful feature but I am not sure that it will be good for one whole night . So don't charge it at night