adb – My Redmi note5 power button is broken and the batteries have now run out…How do i turn it back on?

I have turned on some accessibility features on my phone to help me bypass the need for the power and volume buttons most of the time. I also have a scheduled power off/on daily just in case the phone is bugging. But now it has run out of batteries, and redmi note 5 does not reboot itself after fully charging. I also do not think I have that ADB feature turned on..So how to I turn it back one without having to reset it?