Well I "fixed" this blasted camera, Canon M50

"So far so good." The next step--in progress as we speak.....is to leave it "sleep" with the power on and see if the battery stops going dead. My other DSLR's---I never turn them off. They can sit for days, sometimes weeks, without the battery going down very much.

Good luck. I bought the original EOS M when they were being liquidated on ebay for $250 with a 40mm stm lens. Bought an adapter for ef lenses and it's great.
But the batteries die even with the camera OFF in a bag. If I leave the battery out if the cam, it's fine. But leave it in? Dead the next day.