Wyze Cam Outdoor stuck on 0% with Critical Battery error

So I have a critical error please charge camera I figured out what was wrong all you got to do is take that camera from outside leave it inside for a little bit because that camera overheated once it cools down and it’s plugged in it’s fixed so I suggest everybody that has an outdoor camera don’t let the sun hit it or it’s going to overheat try to put that camera in a shade spot so it won’t overheat